Skip to content

Commit

Permalink
fix: pagination logic broken in merge (googleapis#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Oct 21, 2020
1 parent 5568296 commit b3c8dd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,13 @@ export class GitHub {
}
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
}`,
Expand All @@ -307,7 +307,7 @@ export class GitHub {
path,
perPage,
repo: this.repo,
baseBranch,
baseRef: `refs/heads/${baseBranch}`,
});
return graphqlToCommits(this, response);
} catch (err) {
Expand Down

0 comments on commit b3c8dd2

Please sign in to comment.