import { AuthUserType } from 'src/auth/types'; import axiosInstance from 'src/utils/axios'; export async function getUser(): Promise { const response = await axiosInstance.get('/api/user'); return response.data; }