profile.api.ts 179 Bytes
Newer Older
Kim, MinGyu's avatar
Kim, MinGyu committed
1
2
3
4
5
6
7
import axios from "axios";
import baseUrl from "./baseUrl";

export const profile = async () => {
    const { data } = await axios.get(`${baseUrl}/profile`);
    return data;
  };