chuni: fix get_net_battle

This commit is contained in:
Hay1tsme 2024-06-23 02:57:37 -04:00
parent e432cc1adf
commit 699337c419

View File

@ -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()