3
2
forked from Dniel97/artemis

mai2: put_recent_rating final fix

This commit is contained in:
Hay1tsme 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: