mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
zoho cliq code style
This commit is contained in:
parent
68bc7ac421
commit
851a04b082
1 changed files with 5 additions and 4 deletions
|
@ -44,7 +44,8 @@ class ZohoCliq extends NotificationProvider {
|
|||
monitorName,
|
||||
monitorUrl,
|
||||
}) => {
|
||||
const payload = ["### Uptime Kuma\n"];
|
||||
const payload = [];
|
||||
payload.push("### Uptime Kuma\n");
|
||||
payload.push(this._statusMessageFactory(status, monitorName));
|
||||
payload.push(`*Description:* ${monitorMessage}`);
|
||||
|
||||
|
@ -100,7 +101,7 @@ class ZohoCliq extends NotificationProvider {
|
|||
monitorMessage: heartbeatJSON.msg,
|
||||
monitorName: monitorJSON.name,
|
||||
monitorUrl: url,
|
||||
status: heartbeatJSON.status,
|
||||
status: heartbeatJSON.status
|
||||
});
|
||||
|
||||
await this._sendNotification(notification.webhookUrl, payload);
|
||||
|
|
Loading…
Reference in a new issue