Log post score

This commit is contained in:
André Medeiros 2022-05-25 16:05:49 -04:00 committed by GitHub
parent 3a5e504ba7
commit f018af7c73

View file

@ -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),
) )
} }