1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-10 10:10:14 +02:00

Update server/notification-providers/dingding.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
xJoker 2021-10-14 07:34:24 +08:00 committed by GitHub
parent 843992c410
commit cae194f58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]}`,
}