From 12fa67882e7a64694df5ca0baf0e32133ccc1de9 Mon Sep 17 00:00:00 2001 From: xenis105 <xenis105@ajou.ac.kr> Date: Sat, 7 Dec 2024 20:56:08 +0900 Subject: [PATCH] fix usercontroller --- src/pages/MyPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/MyPage.js b/src/pages/MyPage.js index 86496f4..2ca8d8b 100644 --- a/src/pages/MyPage.js +++ b/src/pages/MyPage.js @@ -37,7 +37,7 @@ const MyPage = () => { try { const response = await axios.post( - `${API_URL}/conf_password/change`, + `${API_URL}/userManagement/changePassword`, { email: user.email, oldPassword: passwordData.oldPassword, @@ -71,7 +71,7 @@ const MyPage = () => { } const response = await axios.post( - `${API_URL}/conf_name/change`, + `${API_URL}/userManagement/change`, { email: user.email, newName: newName.trim() -- GitLab