Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser 2020-01-22 19:53:45 -06:00
parent 087416c698
commit e786336910
No known key found for this signature in database
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func (ge *Gitea) Generate() (string, []PullRequest, error) {
p := 1
// https://github.com/go-gitea/gitea/blob/d92781bf941972761177ac9e07441f8893758fd3/models/repo.go#L63
// https://github.com/go-gitea/gitea/blob/e3c3b33ea7a5a223e22688c3f0eb2d3dab9f991c/models/pull_list.go#L104
// FIXME Gitea has this hard-coded at 40
perPage := 40
for {
results, err := client.ListRepoPullRequests(ge.Owner, ge.Repo, gitea.ListPullRequestsOptions{