Follow, unfollow mutation
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
2024-10-27 12:22:22 -06:00
parent 9b6559559c
commit f3ea44755c
2 changed files with 144 additions and 0 deletions

View File

@@ -86,3 +86,19 @@ query GetUserTags {
name
}
}
mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) {
followers {
username
}
}
}
mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) {
followers {
username
}
}
}