chane url

This commit is contained in:
hamid zarghami
2026-02-19 12:19:21 +03:30
parent 811637f075
commit 4b1788a80c
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export const getAttributes = async (productId?: string) => {
};
export const submitOrder = async (params: OrderType[]) => {
const { data } = await axios.post(`/public/orders`, { items: params });
const { data } = await axios.post(`/public/request`, { items: params });
return data;
};
@@ -55,7 +55,7 @@ export const getMyOrders = async (
query += `&statuses=${statuses}`;
}
const { data } = await axios.get<MyOrdersResponseType>(
`/public/orders${query}`,
`/public/request${query}`,
);
return data;
};