diff --git a/src/pages/MyPage.js b/src/pages/MyPage.js index 86496f438fcf9b2624eee9f4c8a1ab7db6cc614f..2ca8d8b84edc74795ddbb1ef406bb1f9889a006a 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()