Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a6bc77f21 | |||
| 97b505f9ab |
2 changed files with 2 additions and 2 deletions
2
go.mod
2
go.mod
|
|
@ -1,3 +1,3 @@
|
|||
module git.baxters.nz/jeremy/ntfy
|
||||
module git.janksystems.org/jeremy/ntfy
|
||||
|
||||
go 1.25.7
|
||||
|
|
|
|||
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 {
|
||||
return SendF(topic, title, message)
|
||||
return SendF(topic, title, message, func(r *Request) {})
|
||||
}
|
||||
|
||||
func SendActions(topic, title, message string, actions ...string) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue