always use production APNS for live activities

This commit is contained in:
Andre Medeiros 2022-10-27 15:06:57 -04:00
parent 025be60c97
commit 28c71384be

View file

@ -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 {