Fix: disable eqeqeq for UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID (#6271)

This commit is contained in:
Louis Lam 2025-10-28 04:01:24 +08:00 committed by GitHub
parent afbd1ce0e9
commit a3672a6afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}