1
0
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:
Chris Cummer 2019-05-01 16:17:59 -07:00 committed by GitHub
commit 382cf145e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,7 @@ func (repo *GithubRepo) loadPullRequests() ([]*ghb.PullRequest, error) {
}
opts := &ghb.PullRequestListOptions{}
opts.ListOptions.PerPage = 100
prs, _, err := github.PullRequests.List(context.Background(), repo.Owner, repo.Name, opts)