From cae194f58f9410beacf8ea255113f9c758ef3965 Mon Sep 17 00:00:00 2001 From: xJoker Date: Thu, 14 Oct 2021 07:34:24 +0800 Subject: [PATCH] Update server/notification-providers/dingding.js Co-authored-by: Adam Stachowicz --- server/notification-providers/dingding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/notification-providers/dingding.js b/server/notification-providers/dingding.js index 5a64f4aaf..5fd21c415 100644 --- a/server/notification-providers/dingding.js +++ b/server/notification-providers/dingding.js @@ -12,8 +12,8 @@ class DingDing extends NotificationProvider { try { if (heartbeatJSON != null) { var params = { - msgtype:"markdown", - markdown:{ + msgtype: "markdown", + markdown: { title: monitorJSON["name"], text: `## [${this.statusToString(heartbeatJSON["status"])}] \n > ${heartbeatJSON["msg"]} \n > Time(UTC):${heartbeatJSON["time"]}`, }