From b4858ba01e5129411e59a2068d53c680271ba066 Mon Sep 17 00:00:00 2001 From: myunsyeya <myunsyeya@ajou.ac.kr> Date: Sun, 8 Dec 2024 06:35:56 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20signup=20response=20=EA=B0=92=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/auth/axiosSignup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/auth/axiosSignup.js b/src/api/auth/axiosSignup.js index 4068a3c..407968e 100644 --- a/src/api/auth/axiosSignup.js +++ b/src/api/auth/axiosSignup.js @@ -2,8 +2,7 @@ import api from '../axios'; const axiosSignup = async ({ email, password, nickname }) => { try { - const response = await api.post(`/auth/signup`, { email, password, nickname }); - return "signup success"; + await api.post(`/auth/signup`, { email, password, nickname }) } catch (error) { console.error("회원가입 요청 중 오류 발생:", error); throw error; -- GitLab