diff --git a/models/issue_reaction.go b/models/issue_reaction.go index 3fb0f6f8aac72..6a3dfe9f40ad3 100644 --- a/models/issue_reaction.go +++ b/models/issue_reaction.go @@ -50,7 +50,7 @@ func (opts *FindReactionsOptions) toConds() builder.Cond { //FindReactions returns Reactions based func FindReactions(comment *Comment) (ReactionList, error) { return findReactions(x, FindReactionsOptions{ - IssueID: comment.IssueID, + IssueID: comment.IssueID, CommentID: comment.ID}) }