small tweak

This commit is contained in:
Andre Medeiros 2022-10-27 13:42:39 -04:00
parent deae785d90
commit 025be60c97

View file

@ -262,7 +262,7 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) {
PostScore: tr.Post.Score,
}
if len(candidates) > 1 {
if len(candidates) >= 1 {
comment := candidates[0]
din.CommentID = comment.ID