Fixed task deletion card

This commit is contained in:
Анатолий Богомолов 2024-03-12 18:54:34 +10:00
parent a605795578
commit 819aa6784f
1 changed files with 1 additions and 1 deletions

View File

@ -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):