Skip to content

Commit

Permalink
Got rid of falsey value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skorpios604 committed Feb 11, 2025
1 parent ccd6c58 commit ef41712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/service/notificationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ef41712

Please sign in to comment.