fix(aurora): hopefully fixed changes not being imported

This commit is contained in:
Seaswimmer 2024-08-21 14:48:56 -04:00
parent 90be42769c
commit fce4001152
Signed by: cswimr
GPG key ID: 3813315477F26F82

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):