game: clean: use space instead of tab
This commit is contained in:
parent
7096989e9b
commit
6f45baa6b3
@ -11,7 +11,7 @@ class GameSerializer(serializers.ModelSerializer):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = GameModel
|
model = GameModel
|
||||||
fields = ["id", "winner_id", "state", "started", "finished", "players_id"]
|
fields = ["id", "winner_id", "state", "started", "finished", "players_id", "players"]
|
||||||
|
|
||||||
def get_state(self, instance: GameModel):
|
def get_state(self, instance: GameModel):
|
||||||
if (instance.finished):
|
if (instance.finished):
|
||||||
|
Loading…
Reference in New Issue
Block a user