diff --git a/src/dlt/gateway/dltApp/src/dltGateway.js b/src/dlt/gateway/dltApp/src/dltGateway.js index c2cfb5e457211b94cc3150f684e880ab0968753f..f4f9c0d0ae0f24a2d9906f3765b74ebb2824a019 100644 --- a/src/dlt/gateway/dltApp/src/dltGateway.js +++ b/src/dlt/gateway/dltApp/src/dltGateway.js @@ -100,7 +100,7 @@ async function getFromDlt(call, callback) { const result = JSON.parse(resultJson); // Send the response with the formatted JSON data - callback(null, { record_id: call.request, data_json: JSON.stringify(result) }); + callback(null, { record_id: call.request, operation: result.operation, data_json: result.data_json }); } catch (error) { if (error.message.includes("data not found for key")) { // Return an empty response when no record is found