mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-20 15:46:02 -04:00
Fixed typo
This commit is contained in:
parent
4042085fbb
commit
b8f3541a30
@ -1777,11 +1777,11 @@ class Monitor extends BeanModel {
|
||||
]);
|
||||
|
||||
if (healthCheckMonitor) {
|
||||
return healthCheckMonitor.id === UP;
|
||||
return healthCheckMonitor.status === UP;
|
||||
}
|
||||
|
||||
// Default to indicative of being healthy, this shouldn't happen
|
||||
// Better to be safe if we can't find the selector monitor, it may have been deleted
|
||||
// Better to be safe if we can't find the selected monitor, it may have been deleted
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user