mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-30 21:59:27 -06:00
Got rid of falsey value.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user