Skip to content

Commit

Permalink
♻️ Refactor: 회원가입 요청 시, user 객체 전체로 전달하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-paik committed Nov 19, 2023
1 parent 4d44759 commit 279978c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const postEmailDuplicate = async (email) => {
};

/* 회원가입 */
export const postUserSignup = async (data) => {
const response = await instance.post('/user/', data);
export const postUserSignup = async (user) => {
const response = await instance.post('/user/', { user });
return response.data;
};

Expand Down

0 comments on commit 279978c

Please sign in to comment.