Change hostname for group mail notification (#6253)

This commit is contained in:
Max Michels 2025-10-25 11:52:12 +02:00 committed by GitHub
parent 40ec715853
commit e419433ae4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"];
}