Hotfix for CHUNITHM imports

This commit is contained in:
Dniel97 2024-06-29 15:09:28 +02:00
parent 584e545825
commit ff1ffc5dd3
Signed by: Dniel97
GPG Key ID: 6180B3C768FB2E08

View File

@ -246,9 +246,9 @@ class Importer:
return tmp
async def get_chuni_card_id_by_aqua_row(self, row: Row, user_id_column: str = "user_id"):
def get_chuni_card_id_by_aqua_row(self, row: Row, user_id_column: str = "user_id"):
aqua_user_id = row._asdict()[user_id_column]
user_result = await self.aqua.execute(
user_result = self.aqua.execute(
f"SELECT * FROM chusan_user_data WHERE id = {aqua_user_id}"
)