From 8fc4822a427c49993e5f841c9c2c48556d7e16de Mon Sep 17 00:00:00 2001 From: klmhyeonwooo Date: Tue, 13 Feb 2024 23:30:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9A=8C=EC=9B=90=20=EA=B0=80=EC=9E=85?= =?UTF-8?q?=20=ED=83=88=ED=87=B4=20API=20URL=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/api/my-page/useApiUnregister.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/api/my-page/useApiUnregister.tsx b/src/hooks/api/my-page/useApiUnregister.tsx index ed77c1f..1021693 100644 --- a/src/hooks/api/my-page/useApiUnregister.tsx +++ b/src/hooks/api/my-page/useApiUnregister.tsx @@ -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; };