Skip to content

Commit

Permalink
Remove ... on Bot in favor of Node and Actor (#6506)
Browse files Browse the repository at this point in the history
Fixes #6441
  • Loading branch information
alexr00 authored Dec 3, 2024
1 parent 268854f commit c0480ac
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/github/queriesShared.gql
Original file line number Diff line number Diff line change
Expand Up @@ -349,19 +349,18 @@ query GetReviewRequests($owner: String!, $name: String!, $number: Int!) {
reviewRequests(first: 100) {
nodes {
requestedReviewer {
... on User {
... on Actor {
login
avatarUrl
}
... on Node {
id
}
... on User {
url
email
name
}
... on Bot {
id
login
avatarUrl
}
}
}
}
Expand All @@ -380,16 +379,14 @@ fragment ReviewComment on PullRequestReviewComment {
login
avatarUrl
url
... on Node {
id
}
... on User {
email
id
}
... on Organization {
email
id
}
... on Bot {
id
}
}
path
Expand Down

0 comments on commit c0480ac

Please sign in to comment.