Fixed task termination
This commit is contained in:
parent
779c112ecc
commit
1224daac13
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class TaskAPI(MethodView):
|
|||
"""
|
||||
|
||||
try:
|
||||
task = tasks_representation()[task_id]
|
||||
task = tasks[task_id]
|
||||
except KeyError:
|
||||
return abort(404) # 404 Not Found
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue