Skip to content

Commit

Permalink
fix: fetch most recent 100 commits (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Nov 24, 2020
1 parent 223d075 commit 3c862d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queries/PRCommits.gql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
query Commits($prid: Int!, $owner: String!, $repo: String!, $after: String) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $prid) {
commits(first: 100, after: $after) {
commits(last: 100, after: $after) {
totalCount
pageInfo {
hasNextPage
Expand Down

0 comments on commit 3c862d1

Please sign in to comment.