|
|
@ -44,7 +44,8 @@ class ZohoCliq extends NotificationProvider {
|
|
|
|
monitorName,
|
|
|
|
monitorName,
|
|
|
|
monitorUrl,
|
|
|
|
monitorUrl,
|
|
|
|
}) => {
|
|
|
|
}) => {
|
|
|
|
const payload = ["### Uptime Kuma\n"];
|
|
|
|
const payload = [];
|
|
|
|
|
|
|
|
payload.push("### Uptime Kuma\n");
|
|
|
|
payload.push(this._statusMessageFactory(status, monitorName));
|
|
|
|
payload.push(this._statusMessageFactory(status, monitorName));
|
|
|
|
payload.push(`*Description:* ${monitorMessage}`);
|
|
|
|
payload.push(`*Description:* ${monitorMessage}`);
|
|
|
|
|
|
|
|
|
|
|
@ -100,7 +101,7 @@ class ZohoCliq extends NotificationProvider {
|
|
|
|
monitorMessage: heartbeatJSON.msg,
|
|
|
|
monitorMessage: heartbeatJSON.msg,
|
|
|
|
monitorName: monitorJSON.name,
|
|
|
|
monitorName: monitorJSON.name,
|
|
|
|
monitorUrl: url,
|
|
|
|
monitorUrl: url,
|
|
|
|
status: heartbeatJSON.status,
|
|
|
|
status: heartbeatJSON.status
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
await this._sendNotification(notification.webhookUrl, payload);
|
|
|
|
await this._sendNotification(notification.webhookUrl, payload);
|
|
|
|