✨ Quiz is no loner stored in player's browser and more improvements under the hood
This commit is contained in:
@@ -114,7 +114,7 @@ async def start_quiz(
|
||||
cover_image=quiz.cover_image,
|
||||
game_mode=game_mode,
|
||||
)
|
||||
await redis.set(f"game:{str(game.game_pin)}", (game.json()), ex=18000)
|
||||
await redis.set(f"game:{str(game.game_pin)}", game.json(), ex=18000)
|
||||
return {**quiz.dict(exclude={"id"}), **game.dict(exclude={"questions"})}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user