Fix issue that new PRs not returned

This commit is contained in:
Chongyi Zheng 2022-07-10 18:40:29 -04:00
parent ad8eb2b3d0
commit 40c3b32ea5
No known key found for this signature in database
GPG Key ID: CC2953E050C19686
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ func (g *GithubDownloaderV3) GetNewPullRequests(page, perPage int, updatedAfter
allPRs = append(allPRs, basePR)
}
return nil, false, nil
return allPRs, len(issues) < perPage, nil
}
func (g *GithubDownloaderV3) convertGithubPullRequest(pr *github.PullRequest, perPage int) (*base.PullRequest, error) {