WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -60,7 +60,7 @@ class ImportAuroraView(ui.View):
case["target_id"] = int(case["target_id"]) case["target_id"] = int(case["target_id"])
case["moderator_id"] = int(case["moderator_id"]) case["moderator_id"] = int(case["moderator_id"])
if "changes" not in case or not case["changes"]: if not case.get("changes", None):
changes = [] changes = []
else: else:
if not isinstance(case["changes"], list): if not isinstance(case["changes"], list):