fix comments

This commit is contained in:
Alvin Pergens 2022-01-28 15:35:33 +01:00
parent 90f2497548
commit 8febff9282

View file

@ -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);
} }