Skip to content

Commit

Permalink
fix remove gift card code
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Jan 24, 2025
1 parent a321022 commit 9a85487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrogen/src/cart/createCartHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function createCartHandler<TCustomMethods extends CustomMethodsBase>(
)
: await cartCreate({giftCardCodes}, optionalParams);
},
removeGiftCardCodes: cartGiftCardCodesUpdateDefault(mutateOptions),
removeGiftCardCodes: cartGiftCardCodesRemoveDefault(mutateOptions),
updateBuyerIdentity: async (buyerIdentity, optionalParams) => {
return cartId || optionalParams?.cartId
? await cartBuyerIdentityUpdateDefault(mutateOptions)(
Expand Down

0 comments on commit 9a85487

Please sign in to comment.