From fed5deb201aaafd3b7b0af2ea0c353caf89df0cb Mon Sep 17 00:00:00 2001 From: n-kakuko <168174573+n-kakuko@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:01:57 +0900 Subject: [PATCH] =?UTF-8?q?sampling/estimation=E3=81=AEpost/detele?= =?UTF-8?q?=E3=81=AE=E3=81=AE=E3=83=AC=E3=82=B9=E3=83=9D=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89200=E3=82=92201,204=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/oqtopus_cloud/user/routers/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/oqtopus_cloud/user/routers/tasks.py b/backend/oqtopus_cloud/user/routers/tasks.py index 8af152a..a846521 100644 --- a/backend/oqtopus_cloud/user/routers/tasks.py +++ b/backend/oqtopus_cloud/user/routers/tasks.py @@ -451,7 +451,7 @@ def get_sampling_task( @router.delete( "/tasks/sampling/{taskId}", status_code=status.HTTP_204_NO_CONTENT, - response_model=SuccessResponse, + response_model=None, responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}}, ) @tracer.capture_method @@ -771,7 +771,7 @@ def get_estimation_task( @router.delete( "/tasks/estimation/{taskId}", status_code=status.HTTP_204_NO_CONTENT, - response_model=SuccessResponse, + response_model=None, responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}}, ) @tracer.capture_method