fix(aurora): hopefully fixed changes not being imported
This commit is contained in:
parent
90be42769c
commit
fce4001152
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class ImportAuroraView(ui.View):
|
|||
case["target_id"] = int(case["target_id"])
|
||||
case["moderator_id"] = int(case["moderator_id"])
|
||||
|
||||
if "changes" not in case or not case["changes"]:
|
||||
if not case.get("changes", None):
|
||||
changes = []
|
||||
else:
|
||||
if not isinstance(case["changes"], list):
|
||||
|
|
Loading…
Reference in a new issue