This commit is contained in:
hamid zarghami
2026-01-31 10:28:38 +03:30
parent acbd06425b
commit 7df6d04d5f
6 changed files with 146 additions and 19 deletions
+7
View File
@@ -0,0 +1,7 @@
import axios from "@/config/axios";
import type { OrderResponseType } from "../types/Types";
export const getOrders = async () => {
const { data } = await axios.get<OrderResponseType>(`/admin/orders`);
return data;
};