Got rid of falsey value.

This commit is contained in:
Skorpios committed 2025-02-10 18:46:39 -08:00
1 parent ccd6c58e04
commit ef41712544
1 file changed
+1 -1
+1 -1
View File
@@ -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,