Got rid of falsey value.
This commit is contained in:
1 parent
ccd6c58e04
commit
ef41712544
1 file changed
+1
-1
@@ -39,7 +39,7 @@ class NotificationService {
|
|||||||
let url = webhookUrl;
|
let url = webhookUrl;
|
||||||
|
|
||||||
const message = this.formatNotificationMessage(monitor, status, type, chatId);
|
const message = this.formatNotificationMessage(monitor, status, type, chatId);
|
||||||
if (!message) {
|
if (message === null) {
|
||||||
this.logger.warn({
|
this.logger.warn({
|
||||||
message: `Unsupported webhook type: ${type}`,
|
message: `Unsupported webhook type: ${type}`,
|
||||||
service: this.SERVICE_NAME,
|
service: this.SERVICE_NAME,
|
||||||
|
|||||||
Reference in new issue
Block a user