From bb5e99fbcb75c074cad0a433be7c3d48b9598e91 Mon Sep 17 00:00:00 2001 From: soo yeon <80268199+sypaik-dev@users.noreply.github.com> Date: Sun, 19 Nov 2023 22:42:36 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Refactor:=20=EB=B6=88?= =?UTF-8?q?=ED=95=84=EC=9A=94=ED=95=9C=20console=20=EB=B0=8F=20token=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/profile.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/profile.js b/src/api/profile.js index ff60d1e..ea1c2f8 100644 --- a/src/api/profile.js +++ b/src/api/profile.js @@ -1,7 +1,7 @@ import { authInstance } from './axiosInstance'; /* 개인 프로필 정보 */ -export const getUserProfile = async (token, account) => { +export const getUserProfile = async (account) => { try { const response = await authInstance.get(`/profile/${account}`); return response.data; @@ -32,10 +32,8 @@ export const getMyInfo = async () => { /* 프로필 수정 */ export const editProfile = async (user) => { - console.log('user', { user }); try { const response = await authInstance.put(`/user`, { user }); - console.log('response', response); return response.data; } catch (error) { console.log(error);