mirror of https://github.com/stijndcl/didier
Add missing await
parent
8dbf68cac0
commit
e36322b4a7
|
@ -56,4 +56,4 @@ async def complete_wordle_game(database: MongoDatabase, user_id: int, win: bool,
|
||||||
update["$set"]["wordle.current_streak"] = 0
|
update["$set"]["wordle.current_streak"] = 0
|
||||||
|
|
||||||
collection = database[GameStats.collection()]
|
collection = database[GameStats.collection()]
|
||||||
collection.update_one({"_id": stats.id}, update)
|
await collection.update_one({"_id": stats.id}, update)
|
||||||
|
|
Loading…
Reference in New Issue