mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 21:27:42 +00:00
always use production APNS for live activities
This commit is contained in:
parent
025be60c97
commit
28c71384be
1 changed files with 2 additions and 2 deletions
|
@ -294,9 +294,9 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) {
|
||||||
}
|
}
|
||||||
|
|
||||||
client := lac.apnsProduction
|
client := lac.apnsProduction
|
||||||
if la.Sandbox {
|
/*if la.Sandbox {
|
||||||
client = lac.apnsSandbox
|
client = lac.apnsSandbox
|
||||||
}
|
}*/
|
||||||
|
|
||||||
res, err := client.PushWithContext(ctx, notification)
|
res, err := client.PushWithContext(ctx, notification)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue