i am stupid (2)

This commit is contained in:
2024-06-23 15:07:00 +07:00
parent b6e5cc3065
commit e4ad50fb0c

View File

@ -172,6 +172,6 @@ class UserData(BaseData):
return None return None
async def release_lock_for_game(self, user_id: int, game: str): async def release_lock_for_game(self, user_id: int, game: str):
sql = game_locks.delete(game_locks.c.user == user_id & game_locks.c.game == game) sql = game_locks.delete((game_locks.c.user == user_id) & (game_locks.c.game == game))
await self.execute(sql) await self.execute(sql)