customers list

This commit is contained in:
hamid zarghami
2025-11-26 12:05:31 +03:30
parent 64170b61bc
commit 2479f5d1da
10 changed files with 207 additions and 173 deletions
@@ -0,0 +1,7 @@
import axios from "@/config/axios";
import type { GetCustomersResponse } from "@/pages/customers/types/Types";
export const getUsers = async () => {
const { data } = await axios.get<GetCustomersResponse>(`/admin/users`);
return data;
};