server_history model

This commit is contained in:
headlessdev
2025-04-21 13:25:55 +02:00
parent 21dd61c597
commit 1ae8b3e324
3 changed files with 23 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ func getServers(db *sql.DB) []Server {
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)
err := db.QueryRow("SELECT notification_text_application FROM settings LIMIT 1").Scan(&notificationTemplate)
if err != nil || notificationTemplate == "" {
notificationTemplate = "The application !name (!url) went !status!"
}