We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When createCustomer Mutation is called twice with the same emailAddress, it throws a 5xx error during insertion of record:
[run:server] error 4/8/20, 5:45 PM - [Vendure Server] INTERNAL_SERVER_ERROR: error.email-address-must-be-unique [run:server] Error: error.email-address-must-be-unique [run:server] at CustomerService.create
To Reproduce Steps to reproduce the behavior: Run the below mutation twice: mutation { createCustomer(input: {title: "Mr", firstName: "Okjfkgjfg", lastName: "Gdfdfdfj", phoneNumber: "+910086609277", emailAddress: "1234@gmail.com"}, password: "b7a43ae5fd") { id } }
Expected behavior Should throw a 4xx error (may be 400 bad request ?)
Environment (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
0ba66cb
michaelbromley
No branches or pull requests
Describe the bug
When createCustomer Mutation is called twice with the same emailAddress, it throws a 5xx error during insertion of record:
To Reproduce
Steps to reproduce the behavior:
Run the below mutation twice:
mutation {
createCustomer(input: {title: "Mr", firstName: "Okjfkgjfg", lastName: "Gdfdfdfj", phoneNumber: "+910086609277", emailAddress: "1234@gmail.com"}, password: "b7a43ae5fd") {
id
}
}
Expected behavior
Should throw a 4xx error (may be 400 bad request ?)
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: