mirror of https://github.com/CIRCL/AIL-framework
Merge branch 'master' of github.com:ail-project/ail-framework
commit
92cfe300f8
|
@ -1066,7 +1066,7 @@ def api_create_retro_hunt_task(dict_input, creator):
|
||||||
# timeout=30
|
# timeout=30
|
||||||
rule = dict_input.get('rule', None)
|
rule = dict_input.get('rule', None)
|
||||||
if not rule:
|
if not rule:
|
||||||
return ({"status": "error", "reason": "Retro Hunt Rile not provided"}, 400)
|
return ({"status": "error", "reason": "Retro Hunt Rule not provided"}, 400)
|
||||||
task_type = dict_input.get('type', None)
|
task_type = dict_input.get('type', None)
|
||||||
if not task_type:
|
if not task_type:
|
||||||
return ({"status": "error", "reason": "type not provided"}, 400)
|
return ({"status": "error", "reason": "type not provided"}, 400)
|
||||||
|
|
Loading…
Reference in New Issue