mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
14
framework/vendure/utils/mutations/sign-up-mutation.ts
Normal file
14
framework/vendure/utils/mutations/sign-up-mutation.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export const signupMutation = /* GraphQL */ `
|
||||
mutation signup($input: RegisterCustomerInput!) {
|
||||
registerCustomerAccount(input: $input) {
|
||||
__typename
|
||||
... on Success {
|
||||
success
|
||||
}
|
||||
... on ErrorResult {
|
||||
errorCode
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user