Add missing await

pull/124/head
stijndcl 2022-08-03 16:36:24 +02:00
parent 8dbf68cac0
commit e36322b4a7
1 changed files with 1 additions and 1 deletions

View File

@ -56,4 +56,4 @@ async def complete_wordle_game(database: MongoDatabase, user_id: int, win: bool,
update["$set"]["wordle.current_streak"] = 0
collection = database[GameStats.collection()]
collection.update_one({"_id": stats.id}, update)
await collection.update_one({"_id": stats.id}, update)