1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-18 19:22:54 +01:00
git-touch-android-ios-app/lib/graphql/gh_open_issue.graphql
2020-01-07 20:48:50 +08:00

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
}
}
}