mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 01:32:02 +08:00
fix comments
This commit is contained in:
@@ -50,7 +50,7 @@ class Alerta extends NotificationProvider {
|
|||||||
datadup.text = "Service " + monitorJSON["type"] + " is down.";
|
datadup.text = "Service " + monitorJSON["type"] + " is down.";
|
||||||
await axios.post(alertaUrl, datadup, config);
|
await axios.post(alertaUrl, datadup, config);
|
||||||
} else if (heartbeatJSON["status"] == UP) {
|
} else if (heartbeatJSON["status"] == UP) {
|
||||||
datadup.severity = notification.alertaRecoverState; // cleaner
|
datadup.severity = notification.alertaRecoverState; // cleaned
|
||||||
datadup.text = "Service " + monitorJSON["type"] + " is up.";
|
datadup.text = "Service " + monitorJSON["type"] + " is up.";
|
||||||
await axios.post(alertaUrl, datadup, config);
|
await axios.post(alertaUrl, datadup, config);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user