Skip to content
Snippets Groups Projects
Commit d21cb19f authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#23 - fixed rout for deleting subtasks

parent fa0e868c
Branches
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ def construct_blueprint(database): ...@@ -48,7 +48,7 @@ def construct_blueprint(database):
parameters[SubTaskParameters.DESCRIPTION.value]) parameters[SubTaskParameters.DESCRIPTION.value])
return jsonify({"success": True}) return jsonify({"success": True})
@subtask_api.route('/task/<int:taskID>', methods=['DELETE']) @subtask_api.route('/subtask/<int:subTaskID>', methods=['DELETE'])
@jwt_required @jwt_required
def delete_sub_task(subTaskID): def delete_sub_task(subTaskID):
if not __subtask_exists(subTaskID): if not __subtask_exists(subTaskID):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment