small notification text fix

This commit is contained in:
headlessdev 2025-04-19 16:23:53 +02:00
parent 7d49baee6b
commit e39402ff70

View File

@ -206,7 +206,7 @@ func checkAndUpdateStatus(db *sql.DB, client *http.Client, apps []Application) {
var notificationTemplate string
err := db.QueryRow("SELECT notification_text FROM settings LIMIT 1").Scan(&notificationTemplate)
if err != nil || notificationTemplate == "" {
notificationTemplate = "The application '!name' (!url) went !status!"
notificationTemplate = "The application !name (!url) went !status!"
}
for _, app := range apps {