mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
Log post score
This commit is contained in:
parent
3a5e504ba7
commit
f018af7c73
1 changed files with 1 additions and 0 deletions
|
@ -303,6 +303,7 @@ func (tc *trendingConsumer) Consume(delivery rmq.Delivery) {
|
||||||
zap.Int64("subreddit#id", id),
|
zap.Int64("subreddit#id", id),
|
||||||
zap.String("subreddit#name", subreddit.NormalizedName()),
|
zap.String("subreddit#name", subreddit.NormalizedName()),
|
||||||
zap.String("post#id", post.ID),
|
zap.String("post#id", post.ID),
|
||||||
|
zap.Int64("post#score", post.Score),
|
||||||
zap.String("device#token", watcher.Device.APNSToken),
|
zap.String("device#token", watcher.Device.APNSToken),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue