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;