Refactored monitor details

This commit is contained in:
Alex Holliday committed 2024-08-12 12:05:57 -07:00
1 parent da39dae0c4
commit d7251bfd81
7 files changed
+269 -70

No files matched your search

-1
View File
@@ -33,7 +33,6 @@ const getChecksCount = async (req) => {
const monitorId = req.params.monitorId;
const dateRange = req.query.dateRange;
const filter = req.query.filter;
console.log(filter);
// Build query
const checksQuery = { monitorId: monitorId };
// Filter checks by "day", "week", or "month"