From 28c71384be79ae4e7b633924175d7738a49f4728 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 27 Oct 2022 15:06:57 -0400 Subject: [PATCH] always use production APNS for live activities --- internal/worker/live_activities.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/worker/live_activities.go b/internal/worker/live_activities.go index 6de7ab3..25fa2e6 100644 --- a/internal/worker/live_activities.go +++ b/internal/worker/live_activities.go @@ -294,9 +294,9 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) { } client := lac.apnsProduction - if la.Sandbox { + /*if la.Sandbox { client = lac.apnsSandbox - } + }*/ res, err := client.PushWithContext(ctx, notification) if err != nil {