diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 1cedbcf3..1a938dca 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1494,7 +1494,10 @@ exports.masterConnectedSlaveList = async (req, reply) => { if (match) { masterOrderInfo = { masterName: match.master_name || "", - location: match.location || "" + location: match.location || "", + googleLocation: match.googleLocation || "", + longitude : match.longitude || "", + latitude: match.latitude || "" }; } } @@ -1508,6 +1511,9 @@ exports.masterConnectedSlaveList = async (req, reply) => { tankHeight: null, masterName: masterOrderInfo.masterName, location: masterOrderInfo.location, + googleLocation: masterOrderInfo.googleLocation, + longitude: masterOrderInfo.longitude, + latitude: masterOrderInfo.latitude, height: tankDetails?.height || null, length: tankDetails?.length || null, width: tankDetails?.width || null