mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-29 07:07:42 +00:00
fix the notification metric for live activities
This commit is contained in:
parent
561312f131
commit
a8f046acb6
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) {
|
||||||
|
|
||||||
_ = lac.liveActivityRepo.Delete(ctx, at)
|
_ = lac.liveActivityRepo.Delete(ctx, at)
|
||||||
} else {
|
} else {
|
||||||
_ = lac.statsd.Incr("apns.live_activities.sent", []string{}, 1)
|
_ = lac.statsd.Incr("apns.notification.sent", []string{}, 1)
|
||||||
lac.logger.Info("sent notification",
|
lac.logger.Info("sent notification",
|
||||||
zap.String("live_activity#apns_token", at),
|
zap.String("live_activity#apns_token", at),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue