WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 92f9619cea - Show all commits

View file

@ -59,8 +59,8 @@ class Moderation(BaseModel):
"resolved_by": result[11],
"resolve_reason": result[12],
"expired": bool(result[13]),
"changes": json.loads(result[14]),
"metadata": json.loads(result[15]),
"changes": json.loads(result[14]) if result[14] else [],
"metadata": json.loads(result[15]) if result[15] else {},
}
cursor.close()