mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-30 13:02:20 +00:00
Fixed typo
This commit is contained in:
parent
4042085fbb
commit
b8f3541a30
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue