From bee184974ec2747ae9d6a67aab15d4326a07e1be Mon Sep 17 00:00:00 2001 From: Jungwoo Hong Date: Thu, 28 Nov 2024 23:37:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20body=EC=97=90=20formData=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/libs/actions.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/libs/actions.ts b/client/src/libs/actions.ts index 92009e26..9f192531 100644 --- a/client/src/libs/actions.ts +++ b/client/src/libs/actions.ts @@ -158,9 +158,14 @@ export const authenticateByNaver = async ({ }; export const updateInfo = async (formData: Update): Promise => { + const requestBody = formData as any; + const result = await fetcher({ method: 'PATCH', url: '/api/live/update', + customOptions: { + body: requestBody, + }, }); return result;