refactor: Use AuthUser fragment for login / swithcTo
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s

This commit is contained in:
2025-09-18 12:47:13 -04:00
parent 48c8454f2a
commit 1cea2fe9f8
5 changed files with 24 additions and 13 deletions

View File

@@ -3,8 +3,7 @@ mutation login($email: String!, $password: String!) {
authToken
refreshToken
user {
id
email
...AuthUser
}
}
}

View File

@@ -3,8 +3,7 @@ mutation switchTo($userId: ID!) {
authToken
refreshToken
user {
id
email
...AuthUser
}
}
}