Skip to content

Commit

Permalink
Merge 0ccdd1f into d5157a5
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Dilly committed Jul 11, 2019
2 parents d5157a5 + 0ccdd1f commit 9373407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (p *Payload) AlertTitleLocArgs(args []string) *Payload {
// This will display a short string describing the purpose of the notification.
// Apple Watch & Safari display this string as part of the notification interface.
//
// {"aps":{"subtitle":"subtitle"}}
// {"aps":{"alert":{"subtitle":"subtitle"}}}
func (p *Payload) AlertSubtitle(subtitle string) *Payload {
p.aps().alert().Subtitle = subtitle
return p
Expand Down

0 comments on commit 9373407

Please sign in to comment.