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

This commit is contained in:
Terrtia 2021-08-23 15:25:05 +02:00
commit 92cfe300f8
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -1066,7 +1066,7 @@ def api_create_retro_hunt_task(dict_input, creator):
# timeout=30
rule = dict_input.get('rule', None)
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)
if not task_type:
return ({"status": "error", "reason": "type not provided"}, 400)