From e39693d47b9e440f4f2c6338b40ff78e3dd1e786 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 26 Jul 2021 13:38:07 -0400 Subject: [PATCH] Add notification title --- internal/api/devices.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/devices.go b/internal/api/devices.go index ddd5ebb..0e9d36f 100644 --- a/internal/api/devices.go +++ b/internal/api/devices.go @@ -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)