Skip to content

Commit b1fe6e5

Browse files
Remove suoerfluous parameter for FindCommentsOptions.
1 parent 635d411 commit b1fe6e5

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
@@ -434,7 +434,6 @@ func (pr *PullRequest) GetReviewCommentsCount(ctx context.Context) int {
434434
opts := FindCommentsOptions{
435435
Type: CommentTypeReview,
436436
IssueID: pr.IssueID,
437-
ReviewID: 0, // TODO: How to find the review ID?
438437
}
439438
conds := opts.ToConds()
440439
if pr.ID == 0 {

0 commit comments

Comments
 (0)