mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-28 10:28:58 -05: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
|
|
}
|
|
}
|
|
}
|