Add on_conflict_ignore, replacing the try/catch/pass on IntegrityError

This commit is contained in:
Gdub
2026-06-26 13:37:05 -07:00
parent cb15ba5b60
commit 25cb4d9008
+1 -1
View File
@@ -537,7 +537,7 @@ async def set_multiple_reviewed(
)
if to_create:
UserReviewStatus.insert_many(to_create).execute()
UserReviewStatus.insert_many(to_create).on_conflict_ignore().execute()
return JSONResponse(
content=(