fix err notification bug
This commit is contained in:
parent
71241cde36
commit
94c0cdde24
1 changed files with 1 additions and 1 deletions
2
ntfy.go
2
ntfy.go
|
|
@ -34,7 +34,7 @@ func SendAwlNotification(channel string, binColors []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))
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue