mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 11:42:03 +08:00
fix: send msg if heartbeat message is not set
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user