mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 09:44:02 +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({
|
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,
|
||||||
|
Reference in New Issue
Block a user