Skip to content

Commit 8e1d450

Browse files
committed
fix: update token to cartToken
Signed-off-by: Erik Kieckhafer <[email protected]>
1 parent 2fa8844 commit 8e1d450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/cart/withCart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default function withCart(Component) {
161161
const { anonymousCartId, anonymousCartToken } = cartStore;
162162

163163
// Add items to an existing anonymous cart
164-
input.token = anonymousCartToken;
164+
input.cartToken = anonymousCartToken;
165165
input.cartId = anonymousCartId;
166166
} else if (!isCreating && authStore.isAuthenticated && cartStore.hasAccountCart) {
167167
// With an account and an account cart, set the accountCartId on the input object

0 commit comments

Comments
 (0)