Skip to content

Commit

Permalink
♻️ Combine cart API path
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 3, 2024
1 parent 31a4430 commit d9d0217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ export const postUserV2Login = () => '/api/v2/users/login';
export const postUserV2Logout = () => '/api/v2/users/logout';

export const getShoppingCart = () => '/api/v2/users/cart';
export const postShoppingCart = () => '/api/v2/users/cart';
export const deleteShoppingCart = () => '/api/v2/users/cart';
export const postShoppingCart = getShoppingCart;
export const deleteShoppingCart = getShoppingCart;

export const postUserV2WalletEmail = ({
email,
Expand Down

0 comments on commit d9d0217

Please sign in to comment.