1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 10:12:38 +01:00

JSON format

This commit is contained in:
Philipp Heckel 2022-04-16 20:12:01 -04:00
parent 26efd481e3
commit 967cde1fb5

View file

@ -46,7 +46,7 @@ type attachment struct {
type action struct {
Action string `json:"action"`
Label string `json:"label"`
URL string `json:"URL,omitempty"`
URL string `json:"url,omitempty"`
}
// publishMessage is used as input when publishing as JSON