From e828566d42c080c810df54d1d5c4c37c58c486b1 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Wed, 4 Jun 2025 17:40:35 +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 846cd42d..2fcf8be4 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -4254,7 +4254,7 @@ cron.schedule("*/1 * * * *", async () => { console.log("🔁 Running auto-disconnect ticket check..."); // Step 1: Get all support profiles - const allSupportProfiles = await Support.find({}).lean(); + const allSupportProfiles = await Support.find({}); for (const supportRecord of allSupportProfiles) { const supportId = supportRecord.supportId;