Files
git-touch/lib/graphql/gh_watch.graphql
2020-02-06 13:53:43 +08:00

11 lines
236 B
GraphQL

mutation GhWatch($id: ID!, $state: SubscriptionState!) {
updateSubscription(input: { subscribableId: $id, state: $state }) {
subscribable {
__typename
... on Repository {
viewerSubscription
}
}
}
}