From 2cfc5f1bec1e632c974ce1c21b54baf2d17c2817 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 26 Jul 2021 13:23:07 -0400 Subject: [PATCH] fuck me sidways --- internal/api/devices.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/devices.go b/internal/api/devices.go index 4c7ef90..ddd5ebb 100644 --- a/internal/api/devices.go +++ b/internal/api/devices.go @@ -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").