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({ const payload = this._notificationPayloadFactory({
monitorMessage: heartbeatJSON.msg, monitorMessage: heartbeatJSON.msg || msg,
monitorName: monitorJSON.name, monitorName: monitorJSON.name,
monitorUrl: url, monitorUrl: url,
status: heartbeatJSON.status, status: heartbeatJSON.status,