From 1788cda5c2816011db318860a222f833bd9a1e84 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 18 Aug 2025 11:27:41 -0700 Subject: [PATCH] let -> const --- server/src/db/mongo/modules/monitorModuleQueries.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/db/mongo/modules/monitorModuleQueries.js b/server/src/db/mongo/modules/monitorModuleQueries.js index 0a8f807e8..32aed1529 100755 --- a/server/src/db/mongo/modules/monitorModuleQueries.js +++ b/server/src/db/mongo/modules/monitorModuleQueries.js @@ -987,7 +987,7 @@ const buildMonitorsWithChecksByTeamIdPipeline = ({ matchStage, filter, page, row // Add checks if (limit) { - let checksCollection = "checks"; + const checksCollection = "checks"; monitorsPipeline.push({ $lookup: { from: checksCollection, @@ -1052,7 +1052,7 @@ const buildFilteredMonitorsByTeamIdPipeline = ({ matchStage, filter, page, rowsP // Add checks if (limit) { - let checksCollection = "checks"; + const checksCollection = "checks"; pipeline.push({ $lookup: {