Browse Source
Update server/notification-providers/dingding.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/687/head
xJoker
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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"]}`, |
|
|
|
} |
|
|
|