Fixed incorrect assignment
This commit is contained in:
1 parent
3270d61624
commit
6424a0436f
1 file changed
+1
-1
@@ -230,7 +230,7 @@ const getMonitorStatsById = async (req) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
monitorStats.periodIncidents = getIncidents(checksForDateRange);
|
monitorStats.periodIncidents = getIncidents(checksForDateRange);
|
||||||
monitor.periodTotalChecks = checksForDateRange.length;
|
monitorStats.periodTotalChecks = checksForDateRange.length;
|
||||||
|
|
||||||
// If more than numToDisplay checks, pick every nth check
|
// If more than numToDisplay checks, pick every nth check
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user