fix
This commit is contained in:
parent
30f21b4e7c
commit
97b505f9ab
1 changed files with 1 additions and 1 deletions
2
ntfy.go
2
ntfy.go
|
|
@ -33,7 +33,7 @@ func SendF(topic, title, message string, fn func(*Request)) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func Send(topic, title, message string) error {
|
func Send(topic, title, message string) error {
|
||||||
return SendF(topic, title, message)
|
return SendF(topic, title, message, func(r *Request) {})
|
||||||
}
|
}
|
||||||
|
|
||||||
func SendActions(topic, title, message string, actions ...string) error {
|
func SendActions(topic, title, message string, actions ...string) error {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue