Added custom background-color

This commit is contained in:
Mawoka
2022-09-26 18:26:22 +02:00
parent 489d5c96d6
commit 7762f6632e
12 changed files with 239 additions and 122 deletions
+1
View File
@@ -113,6 +113,7 @@ async def start_quiz(
cover_image=quiz.cover_image,
game_mode=game_mode,
user_id=user.id,
background_color=quiz.background_color,
)
await redis.set(f"game:{str(game.game_pin)}", game.json(), ex=18000)
return {**quiz.dict(exclude={"id"}), **game.dict(exclude={"questions"})}