fix(backend-github): editorial workflow commits (#2867)

This commit is contained in:
Bartholomew
2019-11-11 16:06:29 +01:00
committed by Erez Rokah
parent d575cd7e81
commit 86adca3a18
2 changed files with 72 additions and 1 deletions

View File

@ -797,7 +797,7 @@ export default class API {
* Get the list of commits for a given pull request.
*/
getPullRequestCommits(prNumber) {
return this.request(`${this.originRepoURL}/pulls/${prNumber}/commits`);
return this.requestAllPages(`${this.originRepoURL}/pulls/${prNumber}/commits`);
}
/**