Skip to content

Commit 3c862d1

Browse files
authored
fix: fetch most recent 100 commits (#520)
1 parent 223d075 commit 3c862d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/queries/PRCommits.gql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
query Commits($prid: Int!, $owner: String!, $repo: String!, $after: String) {
22
repository(owner: $owner, name: $repo) {
33
pullRequest(number: $prid) {
4-
commits(first: 100, after: $after) {
4+
commits(last: 100, after: $after) {
55
totalCount
66
pageInfo {
77
hasNextPage

0 commit comments

Comments
 (0)