Got rid of falsey value.

This commit is contained in:
Skorpios
2025-02-10 18:46:39 -08:00
parent ccd6c58e04
commit ef41712544

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,