Skip to content

Commit df93afe

Browse files
committed
added todos to fix
1 parent 587f953 commit df93afe

File tree

1 file changed

+4
-2
lines changed
  • services/storage/src/simcore_service_storage/api/rest

1 file changed

+4
-2
lines changed

services/storage/src/simcore_service_storage/api/rest/_files.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ async def complete_upload_file(
276276
# if it returns slow we return a 202 - Accepted, the client will have to check later
277277
# for completeness
278278
async_job_name_data = AsyncJobNameData(
279-
user_id=query_params.user_id, product_name="osparc"
279+
user_id=query_params.user_id,
280+
product_name="osparc", # TODO: fix this
280281
)
281282
task_uuid = await celery_client.send_task(
282283
remote_complete_upload_file.__name__,
@@ -329,7 +330,8 @@ async def is_completed_upload_file(
329330
# if it returns slow we return a 202 - Accepted, the client will have to check later
330331
# for completeness
331332
async_job_name_data = AsyncJobNameData(
332-
user_id=query_params.user_id, product_name="osparc"
333+
user_id=query_params.user_id,
334+
product_name="osparc", # TODO: fix this
333335
)
334336
task_status = await celery_client.get_task_status(
335337
task_context=async_job_name_data.model_dump(), task_uuid=TaskUUID(future_id)

0 commit comments

Comments
 (0)