mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-10-30 12:32:12 +01:00
Docs, fix lint
This commit is contained in:
parent
84f421a464
commit
d243c22510
3 changed files with 7 additions and 4 deletions
|
|
@ -1828,7 +1828,7 @@ func (s *Server) transformBodyJSON(next handleFunc) handleFunc {
|
|||
if m.Priority != 0 {
|
||||
r.Header.Set("X-Priority", fmt.Sprintf("%d", m.Priority))
|
||||
}
|
||||
if m.Tags != nil && len(m.Tags) > 0 {
|
||||
if len(m.Tags) > 0 {
|
||||
r.Header.Set("X-Tags", strings.Join(m.Tags, ","))
|
||||
}
|
||||
if m.Attach != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue