From 17a37a3b01339ef0eb085f28cb00e48812d4a387 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sat, 21 May 2022 09:46:12 -0400 Subject: [PATCH] Fix test notification --- internal/api/devices.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/api/devices.go b/internal/api/devices.go index 5da9e9d..791f02e 100644 --- a/internal/api/devices.go +++ b/internal/api/devices.go @@ -73,7 +73,9 @@ func (a *api) testDeviceHandler(w http.ResponseWriter, r *http.Request) { Category("test-notification"). Custom("test_accounts", strings.Join(users, ",")). AlertTitle(notificationTitle). - AlertBody(body) + AlertBody(body). + MutableContent(). + Sound("traloop.wav") client := apns2.NewTokenClient(a.apns) if !d.Sandbox {