We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 662d50a + 5fcb5cf commit 14a1c71Copy full SHA for 14a1c71
services/storage/src/simcore_service_storage/handlers_simcore_s3.py
@@ -18,7 +18,6 @@
18
parse_request_query_parameters_as,
19
)
20
from servicelib.logging_utils import log_context
21
-from servicelib.mimetype_constants import MIMETYPE_APPLICATION_JSON
22
from settings_library.s3 import S3Settings
23
24
from . import sts
@@ -79,8 +78,10 @@ async def _copy_folders_from_project(
79
78
task_progress=task_progress,
80
81
82
- raise web.HTTPCreated(
83
- text=json_dumps(body.destination), content_type=MIMETYPE_APPLICATION_JSON
+ return web.json_response(
+ {"data": jsonable_encoder(body.destination)},
+ status=status.HTTP_201_CREATED,
84
+ dumps=json_dumps,
85
86
87
0 commit comments