Skip to content

Commit

Permalink
Merge pull request #994 from bluewave-labs/fix/be/check-module
Browse files Browse the repository at this point in the history
Added missing var declaration
  • Loading branch information
ajhollid authored Oct 21, 2024
2 parents f4d6903 + 0dad5c2 commit 4832b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/db/mongo/modules/checkModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const getTeamChecks = async (req) => {
// Default sort order is newest -> oldest
sortOrder = sortOrder === "asc" ? 1 : -1;

checksQuery = { monitorId: { $in: userMonitors } };
const checksQuery = { monitorId: { $in: userMonitors } };

if (filter !== undefined) {
checksQuery.status = false;
Expand Down

0 comments on commit 4832b20

Please sign in to comment.