mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-10 22:17:44 +00:00
fuck me sidways
This commit is contained in:
parent
c67d7c6882
commit
2cfc5f1bec
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ func (a *api) testDeviceHandler(w http.ResponseWriter, r *http.Request, ps httpr
|
||||||
body := fmt.Sprintf("Active usernames are: %s", english.OxfordWordSeries(users, "and"))
|
body := fmt.Sprintf("Active usernames are: %s", english.OxfordWordSeries(users, "and"))
|
||||||
notification := &apns2.Notification{}
|
notification := &apns2.Notification{}
|
||||||
notification.Topic = "com.christianselig.Apollo"
|
notification.Topic = "com.christianselig.Apollo"
|
||||||
|
notification.DeviceToken = d.APNSToken
|
||||||
notification.Payload = payload.
|
notification.Payload = payload.
|
||||||
NewPayload().
|
NewPayload().
|
||||||
Category("test-notification").
|
Category("test-notification").
|
||||||
|
|
Loading…
Reference in a new issue