From 6585f8cf60eb492e3e2d1dd2dec7ffe832f06ad4 Mon Sep 17 00:00:00 2001 From: jacekv Date: Tue, 26 Nov 2024 21:00:33 +0100 Subject: [PATCH] PAN-2339: Testing return value --- pantos/servicenode/restapi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pantos/servicenode/restapi.py b/pantos/servicenode/restapi.py index e7d7f61..ff74d60 100644 --- a/pantos/servicenode/restapi.py +++ b/pantos/servicenode/restapi.py @@ -305,7 +305,8 @@ def post(self) -> flask.Response: _logger.critical('unable to process a transfer request', exc_info=True) internal_server_error() - return ok_response(response) + # return ok_response(response) + return ok_response({'task_id': str(task_id)}) class _TransferStatus(flask_restful.Resource):