🔨 refactor: using query and mutation from framework vendure

:%s
This commit is contained in:
lytrankieio123
2021-09-30 09:45:57 +07:00
parent 4a9c36bf0a
commit b752b0f7a4
9 changed files with 12 additions and 60 deletions

View File

@@ -0,0 +1,15 @@
export const verifyCustomerAccountMutaton = /* GraphQL */ `
mutation verifyCustomerAccount($token: String!, $password: String) {
verifyCustomerAccount( token: $token, password: $password) {
__typename
...on CurrentUser {
id
identifier
}
... on ErrorResult {
errorCode
message
}
}
}
`