From ccb8736b3d143f123e81acfce0a498f058e4d9ad Mon Sep 17 00:00:00 2001 From: Willian Rodrigues Barbosa Date: Mon, 13 Sep 2021 14:02:52 -0300 Subject: [PATCH] fix: send msg if heartbeat message is not set --- server/notification-providers/teams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/teams.js b/server/notification-providers/teams.js index 2cd5a36c5..6021883ee 100644 --- a/server/notification-providers/teams.js +++ b/server/notification-providers/teams.js @@ -101,7 +101,7 @@ class Teams extends NotificationProvider { } const payload = this._notificationPayloadFactory({ - monitorMessage: heartbeatJSON.msg, + monitorMessage: heartbeatJSON.msg || msg, monitorName: monitorJSON.name, monitorUrl: url, status: heartbeatJSON.status,