Skip to content

Commit

Permalink
fix(cart): parameter of CART_ATTRIBUTES_UPDATE_MUTATION (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
remcolakens authored Jul 20, 2023
1 parent 9f75462 commit 3140987
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-falcons-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/hydrogen': patch
---

fix(cart): corrected the `$attributes` type in `CART_ATTRIBUTES_UPDATE_MUTATION` to match the expected one
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const CART_ATTRIBUTES_UPDATE_MUTATION = (
) => `#graphql
mutation cartAttributesUpdate(
$cartId: ID!
$attributes: [CartAttributeInput!]!
$attributes: [AttributeInput!]!
) {
cartAttributesUpdate(cartId: $cartId, attributes: $attributes) {
cart {
Expand Down

0 comments on commit 3140987

Please # to comment.