From a2a2b41d50818ebf2602e38e635fa6f84e85231d Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Mon, 14 Jul 2025 11:41:18 +0530 Subject: [PATCH 1/2] changes --- src/controllers/installationController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 48c11ed9..1fe1959b 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1773,7 +1773,7 @@ exports.masterConnectedSlaveList = async (req, reply) => { const masterResponse = { ...restMasterFields, - masterHardwareId: masterHardwareId, // new field + hardwareId: masterHardwareId, // new field isMaster: true, tankLocation: tankDetails?.tankLocation || null, product_status: master.product_status || 'pending', From 0045128e079cfceca5e63635d72f2aa894582e19 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Mon, 14 Jul 2025 11:45:25 +0530 Subject: [PATCH 2/2] changes --- src/controllers/installationController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 1fe1959b..1346ed8b 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1771,6 +1771,7 @@ exports.masterConnectedSlaveList = async (req, reply) => { ...restMasterFields } = master; + const masterResponse = { ...restMasterFields, hardwareId: masterHardwareId, // new field