mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
small notification text fix
This commit is contained in:
parent
7d49baee6b
commit
e39402ff70
@ -206,7 +206,7 @@ func checkAndUpdateStatus(db *sql.DB, client *http.Client, apps []Application) {
|
|||||||
var notificationTemplate string
|
var notificationTemplate string
|
||||||
err := db.QueryRow("SELECT notification_text FROM settings LIMIT 1").Scan(¬ificationTemplate)
|
err := db.QueryRow("SELECT notification_text FROM settings LIMIT 1").Scan(¬ificationTemplate)
|
||||||
if err != nil || notificationTemplate == "" {
|
if err != nil || notificationTemplate == "" {
|
||||||
notificationTemplate = "The application '!name' (!url) went !status!"
|
notificationTemplate = "The application !name (!url) went !status!"
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, app := range apps {
|
for _, app := range apps {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user