Use correct array for normalization

This commit is contained in:
Alex Holliday
2024-09-04 17:41:28 -07:00
parent 70a4058993
commit 6aef23e8a4
+1 -1
View File
@@ -249,7 +249,7 @@ const getMonitorStatsById = async (req) => {
// Normalize checks if requested
if (normalize !== undefined) {
const normailzedChecks = NormalizeData(checksForDateRange, 1, 100);
const normailzedChecks = NormalizeData(nthChecks, 1, 100);
monitorStats.checks = normailzedChecks;
} else {
monitorStats.checks = nthChecks;