Merge branch 'master' of github.com:ail-project/ail-framework

pull/569/head
Terrtia 2021-08-23 15:25:05 +02:00
commit 92cfe300f8
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

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