generated from pascalmartineau/wp-skeleton
refactor: rename userSwitchTo
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s
This commit is contained in:
10
wp-content/themes/ccat/app/graphql/switchTo.gql
Normal file
10
wp-content/themes/ccat/app/graphql/switchTo.gql
Normal file
@@ -0,0 +1,10 @@
|
||||
mutation switchTo($userId: ID!) {
|
||||
switchTo(input: { userId: $userId }) {
|
||||
authToken
|
||||
refreshToken
|
||||
user {
|
||||
id
|
||||
email
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user