fix: send msg if heartbeat message is not set

This commit is contained in:
Willian Rodrigues Barbosa 2021-09-13 14:02:52 -03:00
parent 063d64eec8
commit ccb8736b3d

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,