forked from Hay1tsme/artemis
chuni: fix misnamed var in put_net_battle
This commit is contained in:
parent
40a177ddcc
commit
f252b8e322
@ -814,7 +814,7 @@ class ChuniProfileData(BaseData):
|
||||
result = await self.execute(conflict)
|
||||
if result:
|
||||
return result.inserted_primary_key['id']
|
||||
self.logger.error(f"Failed to put net battle data for user {user_id}")
|
||||
self.logger.error(f"Failed to put net battle data for user {aime_id}")
|
||||
|
||||
async def get_net_battle(self, aime_id: int) -> Optional[Row]:
|
||||
result = await self.execute(net_battle.select(net_battle.c.user == aime_id))
|
||||
|
Loading…
Reference in New Issue
Block a user