From 8748596b819ce48502eaf22dc558060c74188f77 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Thu, 10 Jul 2025 21:43:37 +0530 Subject: [PATCH] getmasterConnectedSlaveData product_status maintain --- src/controllers/installationController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 2b20ad77..c313fdfd 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1772,6 +1772,7 @@ exports.masterConnectedSlaveList = async (req, reply) => { ...master, isMaster: true, tankLocation: tankDetails?.tankLocation || null, + product_status: master.product_status || 'pending', typeOfWater: masterTypeOfWater, tankHeight: null, masterName: masterOrderInfo.masterName, @@ -1896,6 +1897,7 @@ return { ...slave, isMaster: false, hardwareId: finalHardwareId, + product_status: slave.product_status || 'pending', tankHeight: matchingTankData?.tankHeight ?? null, typeOfWater: masterTypeOfWater === 'bore' ? 'bore' : (slave.typeOfWater || null), height: slaveTankMeta?.height || null,