mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 21:27:42 +00:00
small tweak
This commit is contained in:
parent
deae785d90
commit
025be60c97
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) {
|
||||||
PostScore: tr.Post.Score,
|
PostScore: tr.Post.Score,
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(candidates) > 1 {
|
if len(candidates) >= 1 {
|
||||||
comment := candidates[0]
|
comment := candidates[0]
|
||||||
|
|
||||||
din.CommentID = comment.ID
|
din.CommentID = comment.ID
|
||||||
|
|
Loading…
Reference in a new issue