mirror of
https://github.com/git-touch/git-touch
synced 2024-12-24 23:01:18 +01:00
13 lines
256 B
GraphQL
13 lines
256 B
GraphQL
|
mutation GhFollow($id: ID!, $flag: Boolean!) {
|
||
|
followUser(input: { userId: $id }) @include(if: $flag) {
|
||
|
user {
|
||
|
viewerIsFollowing
|
||
|
}
|
||
|
}
|
||
|
unfollowUser(input: { userId: $id }) @skip(if: $flag) {
|
||
|
user {
|
||
|
viewerIsFollowing
|
||
|
}
|
||
|
}
|
||
|
}
|