mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +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"))
|
||||
notification := &apns2.Notification{}
|
||||
notification.Topic = "com.christianselig.Apollo"
|
||||
notification.DeviceToken = d.APNSToken
|
||||
notification.Payload = payload.
|
||||
NewPayload().
|
||||
Category("test-notification").
|
||||
|
|
Loading…
Reference in a new issue