diff --git a/client/src/pages/MyPage/assets/api/UserInfoApi.ts b/client/src/pages/MyPage/assets/api/UserInfoApi.ts index 104173a..1279c28 100644 --- a/client/src/pages/MyPage/assets/api/UserInfoApi.ts +++ b/client/src/pages/MyPage/assets/api/UserInfoApi.ts @@ -3,8 +3,9 @@ import { MyPageInfoRes } from '../types/User'; export async function getUserinfo(id: number) { try { + //id 파라미터 변경되어야 함 const response = await API.get(`/members/${id}`); - console.log(response); + // console.log(response); return response.data; } catch { console.log('404 error');