mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-26 21:25:18 +01:00
JSON format
This commit is contained in:
parent
26efd481e3
commit
967cde1fb5
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ type attachment struct {
|
||||||
type action struct {
|
type action struct {
|
||||||
Action string `json:"action"`
|
Action string `json:"action"`
|
||||||
Label string `json:"label"`
|
Label string `json:"label"`
|
||||||
URL string `json:"URL,omitempty"`
|
URL string `json:"url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// publishMessage is used as input when publishing as JSON
|
// publishMessage is used as input when publishing as JSON
|
||||||
|
|
Loading…
Reference in a new issue