Fixed task deletion card
This commit is contained in:
parent
a605795578
commit
819aa6784f
|
@ -59,7 +59,7 @@ def delete_task(task_id: int):
|
|||
db.session.delete(task)
|
||||
db.session.commit()
|
||||
|
||||
return '', 204
|
||||
return '', 200
|
||||
|
||||
@tasks.route("/<int:task_id>/stop", methods=["PUT"])
|
||||
def stop_task(task_id: int):
|
||||
|
|
Loading…
Reference in New Issue