fix err notification bug

This commit is contained in:
Cato 2025-07-01 23:37:47 +02:00
parent 71241cde36
commit 94c0cdde24

View file

@ -34,7 +34,7 @@ func SendAwlNotification(channel string, binColors []string) error {
} }
func SendNotification(channel, message string) error { func SendNotification(channel, message string) error {
topic := fmt.Sprintf("https://ntfy.sh/awl_neuss_%s_err", channel) topic := fmt.Sprintf("https://ntfy.sh/awl_neuss_%s", channel)
_, err := http.Post(topic, "text/plain", strings.NewReader(message)) _, err := http.Post(topic, "text/plain", strings.NewReader(message))
return err return err
} }