From a3672a6afb9fce3f618c21a07e552de44e863621 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 28 Oct 2025 04:01:24 +0800 Subject: [PATCH] Fix: disable eqeqeq for UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID (#6271) --- server/model/monitor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 178d639cd..6e2b3c033 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -578,7 +578,8 @@ class Monitor extends BeanModel { } } - if (process.env.UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID === this.id) { + // eslint-disable-next-line eqeqeq + if (process.env.UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID == this.id) { log.info("monitor", res.data); }