mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +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.
|
notification.Payload = payload.
|
||||||
NewPayload().
|
NewPayload().
|
||||||
Category("test-notification").
|
Category("test-notification").
|
||||||
|
AlertTitle("Test notification").
|
||||||
AlertBody(body)
|
AlertBody(body)
|
||||||
|
|
||||||
client := apns2.NewTokenClient(a.apns)
|
client := apns2.NewTokenClient(a.apns)
|
||||||
|
|
Loading…
Reference in a new issue