fix: поправил подпсиь категорий рыба

This commit is contained in:
2026-06-23 22:01:39 +03:00
parent e4ed1b41d5
commit 9f4131efe5
2 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -43,8 +43,7 @@ export const getCart = () => axios.get(`${API_URL}/cart/`);
export const addToCart = (data) => axios.post(`${API_URL}/cart/`, data);
export const updateCartItem = (id, data) =>
axios.post(`${API_URL}/cart/${id}`, data);
export const removeFromCart = (id) => axios.post(`${API_URL}/cart/${id}`);
export const removeFromCart = (id) => axios.delete(`${API_URL}/cart/${id}`);
export const createOrder = (data) => axios.post(`${API_URL}/orders/`, data);
export const getUserOrders = () => axios.get(`${API_URL}/orders/`);
export const getOrder = (id) => axios.get(`${API_URL}/orders/${id}`);