fix: send msg if heartbeat message is not set

pull/395/head
Willian Rodrigues Barbosa 2021-09-13 14:02:52 -03:00
parent 063d64eec8
commit ccb8736b3d
1 changed files with 1 additions and 1 deletions

View File

@ -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,