mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 03:19:55 +08:00
Update server/notification-providers/dingding.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
@@ -12,8 +12,8 @@ class DingDing extends NotificationProvider {
|
|||||||
try {
|
try {
|
||||||
if (heartbeatJSON != null) {
|
if (heartbeatJSON != null) {
|
||||||
var params = {
|
var params = {
|
||||||
msgtype:"markdown",
|
msgtype: "markdown",
|
||||||
markdown:{
|
markdown: {
|
||||||
title: monitorJSON["name"],
|
title: monitorJSON["name"],
|
||||||
text: `## [${this.statusToString(heartbeatJSON["status"])}] \n > ${heartbeatJSON["msg"]} \n > Time(UTC):${heartbeatJSON["time"]}`,
|
text: `## [${this.statusToString(heartbeatJSON["status"])}] \n > ${heartbeatJSON["msg"]} \n > Time(UTC):${heartbeatJSON["time"]}`,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user