Skip to content

Commit 65241f0

Browse files
Remove suoerfluous parameter for FindCommentsOptions.
1 parent bf1f83d commit 65241f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

models/issues/pull.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ func (pr *PullRequest) GetReviewCommentsCount(ctx context.Context) int {
452452
opts := FindCommentsOptions{
453453
Type: CommentTypeReview,
454454
IssueID: pr.IssueID,
455-
ReviewID: 0, // TODO: How to find the review ID?
456455
}
457456
conds := opts.ToConds()
458457
if pr.ID == 0 {

0 commit comments

Comments
 (0)