forked from c0de/BaseballBot
generate uuid on the model
This commit is contained in:
parent
7577e3afee
commit
59d1dc4afb
@ -39,7 +39,7 @@ class GuessManager(BaseGameManager):
|
|||||||
|
|
||||||
# Create the guess (or allow us to say update successful)
|
# Create the guess (or allow us to say update successful)
|
||||||
_, created = Guess.get_or_create(
|
_, created = Guess.get_or_create(
|
||||||
guess_id=uuid.uuid4(), game_id=self.game.game_id, player_id=player.player_id
|
game_id=self.game.game_id, player_id=player.player_id
|
||||||
)
|
)
|
||||||
|
|
||||||
Guess.update({"guess": value}).where(
|
Guess.update({"guess": value}).where(
|
||||||
|
Loading…
Reference in New Issue
Block a user