Skip to content

Commit

Permalink
fix: 회원 가입 탈퇴 API URL 수정
Browse files Browse the repository at this point in the history
fix: 회원 가입 탈퇴 API URL 수정
  • Loading branch information
klmhyeonwoo authored Feb 13, 2024
2 parents d8fe20b + 8fc4822 commit f678b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/api/my-page/useApiUnregister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type UnregisterUserParams = {
export const useApiUnregister = () => {
const deleteUser = async ({ userId, reason }: UnregisterUserParams) => {
const res = await api.delete(
`/praise-up/api/v1/user/${userId}/nickname?reason=${reason}`,
`/praise-up/api/v1/user/${userId}?reason=${reason}`,
);
return res;
};
Expand Down

0 comments on commit f678b22

Please sign in to comment.