From d663b1ef7c009afdcd846c0dd38fa811c9bce716 Mon Sep 17 00:00:00 2001 From: phantomlan Date: Mon, 13 Nov 2023 03:03:04 +0100 Subject: [PATCH] fix foreign key issue --- titles/ongeki/schema/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/ongeki/schema/item.py b/titles/ongeki/schema/item.py index a7854c8..2c5b526 100644 --- a/titles/ongeki/schema/item.py +++ b/titles/ongeki/schema/item.py @@ -532,7 +532,7 @@ class OngekiItemData(BaseData): return None return result.fetchall() - def put_mission_point(self, version: int, aime_id: int, mission_point_data: Dict) -> Optional[int]: + def put_mission_point(self, aime_id: int, version: int, mission_point_data: Dict) -> Optional[int]: mission_point_data["user"] = aime_id mission_point_data["version"] = version