From 4ae4e14c9eefaa8066f83236022f07d165124d7f Mon Sep 17 00:00:00 2001 From: sonagi98 Date: Mon, 24 Jul 2023 09:59:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/MyPage/assets/api/UserInfoApi.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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');