Skip to content

Commit

Permalink
fix: queries exceeding number of allowed nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlvhdr committed Mar 15, 2024
1 parent 4dc6aae commit e41171f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/prapi.go
Expand Up @@ -37,7 +37,7 @@ type PullRequestData struct {
Assignees Assignees `graphql:"assignees(first: 3)"`
Comments Comments `graphql:"comments(last: 5, orderBy: { field: UPDATED_AT, direction: DESC })"`
LatestReviews Reviews `graphql:"latestReviews(last: 3)"`
ReviewThreads ReviewThreads `graphql:"reviewThreads(last: 100)"`
ReviewThreads ReviewThreads `graphql:"reviewThreads(last: 20)"`
IsDraft bool
Commits Commits `graphql:"commits(last: 1)"`
}
Expand Down Expand Up @@ -138,7 +138,7 @@ type ReviewThreads struct {
StartLine int
Line int
Path string
Comments ReviewComments `graphql:"comments(first: 100)"`
Comments ReviewComments `graphql:"comments(first: 10)"`
}
}

Expand Down

0 comments on commit e41171f

Please sign in to comment.