feat(server): add Cache and Firebase as keys to JSON publishing

https://github.com/binwiederhier/ntfy/issues/1119
This commit is contained in:
stendler
2024-05-29 21:23:06 +02:00
parent 9d3fc20e58
commit 5211d06f2c
3 changed files with 53 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ type publishMessage struct {
Filename string `json:"filename"`
Email string `json:"email"`
Call string `json:"call"`
Cache string `json:"cache"` // use string as it defaults to true (or use &bool instead)
Firebase string `json:"firebase"` // use string as it defaults to true (or use &bool instead)
Delay string `json:"delay"`
}