From b8f3541a303b91c9fc5ce7dc7ec9f48c7a6bd337 Mon Sep 17 00:00:00 2001 From: XGhozt <me@xghozt.com> Date: Mon, 24 Mar 2025 21:33:27 -0700 Subject: [PATCH] Fixed typo --- server/model/monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index a9aedea84..20872f985 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -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; } }