Skip to content

Commit

Permalink
fix(core): adds missing error field on update customer mutation (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanceaclark committed Jul 15, 2024
1 parent e0926ee commit 5df38cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-insects-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Fixes a missing GraphQL field for the updateCustomer mutation.
3 changes: 3 additions & 0 deletions core/client/mutations/update-customer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const UPDATE_CUSTOMER_MUTATION = graphql(`
}
errors {
__typename
... on UnexpectedUpdateCustomerError {
message
}
... on EmailAlreadyInUseError {
message
}
Expand Down

0 comments on commit 5df38cf

Please sign in to comment.