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

13 lines
256 B
GraphQL
Raw Normal View History

2020-01-07 14:03:04 +01:00
mutation GhFollow($id: ID!, $flag: Boolean!) {
followUser(input: { userId: $id }) @include(if: $flag) {
user {
viewerIsFollowing
}
}
unfollowUser(input: { userId: $id }) @skip(if: $flag) {
user {
viewerIsFollowing
}
}
}