1
0
mirror of synced 2024-11-12 00:40:50 +01:00

Merge pull request 'Hotfix for mission events' (#68) from phantomlan/artemis:develop into develop

Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/68
This commit is contained in:
Midorica 2023-11-15 14:30:33 +00:00
commit d3b01e03c5

View File

@ -533,8 +533,8 @@ class OngekiItemData(BaseData):
return result.fetchall()
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
mission_point_data["user"] = aime_id
sql = insert(mission_point).values(**mission_point_data)
conflict = sql.on_duplicate_key_update(**mission_point_data)