Fixed broken scan representation

This commit is contained in:
Joel Collins 2019-11-26 16:21:17 +00:00
parent 671b356e22
commit 41a8c57e0a

View file

@ -124,7 +124,7 @@ class TaskAPI(MethodView):
return abort(404) # 404 Not Found
# Return task state
return jsonify(task.state)
return jsonify(task)
def delete(self, task_id):
"""