Skip to content

Commit

Permalink
FAI-13315 | Fixed gql variable names for PR reviews and review reques…
Browse files Browse the repository at this point in the history
…ts (#1714)
  • Loading branch information
dbruno21 authored Oct 2, 2024
1 parent 0bc2f2c commit ccc993d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query pullRequestReviewRequests($org: String!, $repo: String!, $number: Int!, $nested_page_size: Int!, $cursor: String) {
repository(owner: $org, name: $repo) {
query pullRequestReviewRequests($owner: String!, $repo: String!, $number: Int!, $nested_page_size: Int!, $cursor: String) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
reviewRequests(first: $nested_page_size, after: $cursor) {
pageInfo {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query pullRequestReviews($org: String!, $repo: String!, $number: Int!, $nested_page_size: Int!, $cursor: String) {
repository(owner: $org, name: $repo) {
query pullRequestReviews($owner: String!, $repo: String!, $number: Int!, $nested_page_size: Int!, $cursor: String) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
reviews(first: $nested_page_size, after: $cursor) {
pageInfo {
Expand Down
4 changes: 2 additions & 2 deletions faros-airbyte-common/src/github/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8198,7 +8198,7 @@ export type ProjectsQuery = {
};

export type PullRequestReviewRequestsQueryVariables = Exact<{
org: Scalars['String']['input'];
owner: Scalars['String']['input'];
repo: Scalars['String']['input'];
number: Scalars['Int']['input'];
nested_page_size: Scalars['Int']['input'];
Expand Down Expand Up @@ -8239,7 +8239,7 @@ export type PullRequestReviewRequestsQuery = {
};

export type PullRequestReviewsQueryVariables = Exact<{
org: Scalars['String']['input'];
owner: Scalars['String']['input'];
repo: Scalars['String']['input'];
number: Scalars['Int']['input'];
nested_page_size: Scalars['Int']['input'];
Expand Down
2 changes: 1 addition & 1 deletion sources/github-source/src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ export abstract class GitHub {
owner: org,
repo,
pull_number: number,
per_page: this.pageSize,
nested_page_size: this.pageSize,
cursor: startCursor,
}
);
Expand Down

0 comments on commit ccc993d

Please sign in to comment.