Skip to content

Commit c0480ac

Browse files
authored
Remove ... on Bot in favor of Node and Actor (#6506)
Fixes #6441
1 parent 268854f commit c0480ac

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

src/github/queriesShared.gql

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -349,19 +349,18 @@ query GetReviewRequests($owner: String!, $name: String!, $number: Int!) {
349349
reviewRequests(first: 100) {
350350
nodes {
351351
requestedReviewer {
352-
... on User {
352+
... on Actor {
353353
login
354354
avatarUrl
355+
}
356+
... on Node {
355357
id
358+
}
359+
... on User {
356360
url
357361
email
358362
name
359363
}
360-
... on Bot {
361-
id
362-
login
363-
avatarUrl
364-
}
365364
}
366365
}
367366
}
@@ -380,16 +379,14 @@ fragment ReviewComment on PullRequestReviewComment {
380379
login
381380
avatarUrl
382381
url
382+
... on Node {
383+
id
384+
}
383385
... on User {
384386
email
385-
id
386387
}
387388
... on Organization {
388389
email
389-
id
390-
}
391-
... on Bot {
392-
id
393390
}
394391
}
395392
path

0 commit comments

Comments
 (0)