Skip to content

Commit

Permalink
github: Fix API call to request reviews
Browse files Browse the repository at this point in the history
It used to work, but it stopped (not more than a few days ago, as far
as I can tell) with the following error:

    Type mismatch on variable $pullRequestId and argument
    pullRequestId (String! / ID!)

Perhaps the schema has slightly changed (or type checking is now
tighter)? Anyway, changing the type to `ID!` fixes the issue.
  • Loading branch information
dbaty committed Mar 2, 2022
1 parent 14efecf commit a1ea48a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mutation requestReviews (
$pullRequestId: String!,
$pullRequestId: ID!,
$userIds: [ID!],
) {
requestReviews(input: {
Expand Down

0 comments on commit a1ea48a

Please sign in to comment.