From 8ccfd870a2481af417053e605f975e989a06620d Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Thu, 5 Jun 2025 11:33:02 +0530 Subject: [PATCH] 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 c01bd092..9cc9a505 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -4325,7 +4325,7 @@ cron.schedule("*/1 * * * *", async () => { if (!customerId || !hardwareId) continue; // ✅ Update GSM and LoRa connection statuses - await updateConnectedStatusOnly(customerId, hardwareId); + // await updateConnectedStatusOnly(customerId, hardwareId); // 🔄 Re-fetch updated master and slaves const updatedMaster = await Insensors.findOne({ hardwareId, customerId }).lean();