mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-01-31 11:03:11 +08:00
Change hostname for group mail notification (#6253)
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user