From ef41712544a43b7915142992bdc720b2cd8d346a Mon Sep 17 00:00:00 2001 From: Skorpios Date: Mon, 10 Feb 2025 18:46:39 -0800 Subject: [PATCH] Got rid of falsey value. --- Server/service/notificationService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/service/notificationService.js b/Server/service/notificationService.js index ebd27c166..59698f0c5 100644 --- a/Server/service/notificationService.js +++ b/Server/service/notificationService.js @@ -39,7 +39,7 @@ class NotificationService { let url = webhookUrl; const message = this.formatNotificationMessage(monitor, status, type, chatId); - if (!message) { + if (message === null) { this.logger.warn({ message: `Unsupported webhook type: ${type}`, service: this.SERVICE_NAME,