1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-24 15:57:35 +02:00

Added missing 'delay' and 'email' params to publish as json

This commit is contained in:
Philipp Heckel 2022-03-29 15:40:26 -04:00
parent 59b341dfb8
commit b67d9fc85d
5 changed files with 31 additions and 3 deletions
server

View file

@ -52,6 +52,8 @@ type publishMessage struct {
Click string `json:"click"`
Attach string `json:"attach"`
Filename string `json:"filename"`
Email string `json:"email"`
Delay string `json:"delay"`
}
// messageEncoder is a function that knows how to encode a message