diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 48c11ed9..1346ed8b 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1771,9 +1771,10 @@ exports.masterConnectedSlaveList = async (req, reply) => { ...restMasterFields } = master; + const masterResponse = { ...restMasterFields, - masterHardwareId: masterHardwareId, // new field + hardwareId: masterHardwareId, // new field isMaster: true, tankLocation: tankDetails?.tankLocation || null, product_status: master.product_status || 'pending',