mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 07:27:43 +00:00
Add notification title
This commit is contained in:
parent
2cfc5f1bec
commit
e39693d47b
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ func (a *api) testDeviceHandler(w http.ResponseWriter, r *http.Request, ps httpr
|
|||
notification.Payload = payload.
|
||||
NewPayload().
|
||||
Category("test-notification").
|
||||
AlertTitle("Test notification").
|
||||
AlertBody(body)
|
||||
|
||||
client := apns2.NewTokenClient(a.apns)
|
||||
|
|
Loading…
Reference in a new issue