1
0
mirror of synced 2024-11-24 06:20:10 +01:00

mai2: put_recent_rating final fix

This commit is contained in:
Kevin Trocolli 2023-07-01 02:11:37 -04:00
parent 8f9584c3d2
commit 3e9cec3a20

View File

@ -748,7 +748,7 @@ class Mai2ProfileData(BaseData):
def put_recent_rating(self, user_id: int, rr: Dict) -> Optional[int]:
sql = insert(recent_rating).values(user=user_id, userRecentRatingList=rr)
conflict = sql.on_duplicate_key_update(userRecentRatingList=rr)
conflict = sql.on_duplicate_key_update({'userRecentRatingList': rr})
result = self.execute(conflict)
if result is None: