mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge pull request #423 from Seanstoppable/increasegithublimit
Increase the pagination limit for github
This commit is contained in:
commit
382cf145e8
@ -160,6 +160,7 @@ func (repo *GithubRepo) loadPullRequests() ([]*ghb.PullRequest, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
opts := &ghb.PullRequestListOptions{}
|
opts := &ghb.PullRequestListOptions{}
|
||||||
|
opts.ListOptions.PerPage = 100
|
||||||
|
|
||||||
prs, _, err := github.PullRequests.List(context.Background(), repo.Owner, repo.Name, opts)
|
prs, _, err := github.PullRequests.List(context.Background(), repo.Owner, repo.Name, opts)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user