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 ac8993d commit 5dfb74b
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 @@ -459,7 +459,7 @@ def delete_sampling_task(
event: Event,
taskId: str,
db: Session = Depends(get_db),
) -> SuccessResponse | ErrorResponse:
) -> None:
try:
TaskId(root=uuid.UUID(taskId))
except ValidationError:
Expand Down Expand Up @@ -779,7 +779,7 @@ def delete_estimation_task(
event: Event,
taskId: str,
db: Session = Depends(get_db),
) -> SuccessResponse | ErrorResponse:
) -> None:
try:
TaskId(root=uuid.UUID(taskId))
except ValidationError:
Expand Down

0 comments on commit 5dfb74b

Please sign in to comment.