fix(aurora): fixed an issue with importing changes
This commit is contained in:
parent
85a935f9b3
commit
6745f0a486
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ class ImportAuroraView(ui.View):
|
|||
|
||||
if "changes" not in case or not case["changes"]:
|
||||
case["changes"] = []
|
||||
else:
|
||||
case["changes"] = json.loads(case["changes"])
|
||||
if isinstance(case["changes"], str):
|
||||
case["changes"] = json.loads(case["changes"])
|
||||
|
||||
if "metadata" not in case:
|
||||
metadata = {}
|
||||
|
|
Loading…
Reference in a new issue