From 819aa6784fc45c39e6cc862f1969005c7cacd1b7 Mon Sep 17 00:00:00 2001 From: winet Date: Tue, 12 Mar 2024 18:54:34 +1000 Subject: [PATCH] Fixed task deletion card --- app/blueprints/api/tasks/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/api/tasks/routes.py b/app/blueprints/api/tasks/routes.py index 063c450..8cfe384 100644 --- a/app/blueprints/api/tasks/routes.py +++ b/app/blueprints/api/tasks/routes.py @@ -59,7 +59,7 @@ def delete_task(task_id: int): db.session.delete(task) db.session.commit() - return '', 204 + return '', 200 @tasks.route("//stop", methods=["PUT"]) def stop_task(task_id: int):