From 966110a123b79bafcf5f88bcfe478af7895d1609 Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:56:26 +0100 Subject: [PATCH] envelope --- .../src/simcore_service_storage/handlers_simcore_s3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/storage/src/simcore_service_storage/handlers_simcore_s3.py b/services/storage/src/simcore_service_storage/handlers_simcore_s3.py index 4d39354b87b..bfbe41e1806 100644 --- a/services/storage/src/simcore_service_storage/handlers_simcore_s3.py +++ b/services/storage/src/simcore_service_storage/handlers_simcore_s3.py @@ -79,7 +79,9 @@ async def _copy_folders_from_project( ) return web.json_response( - text=json_dumps(body.destination), status=status.HTTP_201_CREATED + {"data": jsonable_encoder(body.destination)}, + status=status.HTTP_201_CREATED, + dumps=json_dumps, )