forked from Dniel97/artemis
chuni: fix get_net_battle
This commit is contained in:
parent
e432cc1adf
commit
699337c419
@ -816,7 +816,7 @@ class ChuniProfileData(BaseData):
|
||||
return result.inserted_primary_key['id']
|
||||
self.logger.error(f"Failed to put net battle data for user {user_id}")
|
||||
|
||||
async def get_net_battle(self, user_id: int, net_battle_data: Dict) -> Optional[Row]:
|
||||
async def get_net_battle(self, user_id: int) -> Optional[Row]:
|
||||
result = await self.execute(net_battle.select(net_battle.c.user == user_id))
|
||||
if result:
|
||||
return result.fetchone()
|
||||
|
Loading…
Reference in New Issue
Block a user