Change hostname for group mail notification (#6253)

1.23.X
Max Michels 6 months ago committed by GitHub
parent 40ec715853
commit e419433ae4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,6 +69,8 @@ class SMTP extends NotificationProvider {
if (monitorJSON["type"] === "http" || monitorJSON["type"] === "keyword" || monitorJSON["type"] === "json-query") {
monitorHostnameOrURL = monitorJSON["url"];
} else if (monitorJSON["type"] === "group") {
monitorHostnameOrURL = "Group: " + monitorJSON["name"];
} else {
monitorHostnameOrURL = monitorJSON["hostname"];
}

Loading…
Cancel
Save