refresh token
This commit is contained in:
@@ -10,3 +10,8 @@ export const submitOrder = async (params: OrderType[]) => {
|
||||
const { data } = await axios.post(`/public/order`, { items: params });
|
||||
return data;
|
||||
};
|
||||
|
||||
export const getMyOrders = async () => {
|
||||
const { data } = await axios.get(`/public/orders`);
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user