git-touch-android-ios-app/lib/graphql/gh_open_issue.graphql

13 lines
240 B
GraphQL

mutation GhOpenIssue($id: ID!, $open: Boolean!) {
reopenIssue(input: { issueId: $id }) @include(if: $open) {
issue {
closed
}
}
closeIssue(input: { issueId: $id }) @skip(if: $open) {
issue {
closed
}
}
}