chg: [tracker] typo fixed

This commit is contained in:
Alexandre Dulaunoy 2021-08-23 11:50:49 +02:00
parent d64633cb2d
commit 8c812fd1a8
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -1026,7 +1026,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)