Skip to content

Commit bdfd793

Browse files
committed
fixed return value
1 parent c4d7709 commit bdfd793

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/specs/web-server/_storage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async def list_storage_paths(
7272
@router.post(
7373
"/storage/locations/{location_id}/paths/{path}:size",
7474
response_model=Envelope[StorageAsyncJobGet],
75+
status_code=status.HTTP_202_ACCEPTED,
7576
)
7677
async def compute_path_size(_path: Annotated[StoragePathComputeSizeParams, Depends()]):
7778
"""Compute the size of a path"""

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6080,7 +6080,7 @@ paths:
60806080
format: path
60816081
title: Path
60826082
responses:
6083-
'200':
6083+
'202':
60846084
description: Successful Response
60856085
content:
60866086
application/json:

0 commit comments

Comments
 (0)