mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
fix: [importer] fix typo
This commit is contained in:
parent
a92b81034b
commit
199df870be
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ def api_import_json_item(data_json):
|
|||
return ({'status': 'error', 'reason': 'Malformed JSON'}, 400)
|
||||
|
||||
# # TODO: add JSON verification
|
||||
res = add_json_to_json_queue(item_json)
|
||||
res = add_json_to_json_queue(data_json)
|
||||
if res:
|
||||
return ({'status': 'error'}, 400)
|
||||
return ({'status': 'success'}, 200)
|
||||
|
|
Loading…
Reference in a new issue