Skip to content

Commit

Permalink
Fix cart noteUpdate scalar to be required (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle committed Apr 16, 2024
1 parent bdef877 commit 0f5cab0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-pets-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/hydrogen-react': patch
---

Fix noteUpdate scalar to be required
2 changes: 1 addition & 1 deletion packages/hydrogen-react/src/cart-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const CartLineUpdate = (cartFragment: string): string => /* GraphQL */ `
export const CartNoteUpdate = (cartFragment: string): string => /* GraphQL */ `
mutation CartNoteUpdate(
$cartId: ID!
$note: String
$note: String!
$numCartLines: Int = 250
$country: CountryCode = ZZ
$language: LanguageCode
Expand Down

0 comments on commit 0f5cab0

Please sign in to comment.