Skip to content

Commit

Permalink
sampling/estimationのpost/deteleののレスポンスコード200を201,204に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kakuko authored Oct 9, 2024
1 parent 3d3767f commit f8cd760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/oqtopus_cloud/user/routers/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def get_sampling_task(

@router.delete(
"/tasks/sampling/{taskId}",
status_code=status.HTTP_204,
status_code=204,
response_model=SuccessResponse,
responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}},
)
Expand Down Expand Up @@ -770,7 +770,7 @@ def get_estimation_task(

@router.delete(
"/tasks/estimation/{taskId}",
status_code=status.HTTP_204,
status_code=204,
response_model=SuccessResponse,
responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}},
)
Expand Down

0 comments on commit f8cd760

Please sign in to comment.