From d8b500931a4bff851b8eccb3c920af5c147285af Mon Sep 17 00:00:00 2001 From: jhj2713 Date: Tue, 13 Aug 2024 10:15:28 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20formdata=20content=20type=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 --- admin/src/apis/rushAPI.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/src/apis/rushAPI.ts b/admin/src/apis/rushAPI.ts index 1cae7fb5..c10c45f3 100644 --- a/admin/src/apis/rushAPI.ts +++ b/admin/src/apis/rushAPI.ts @@ -114,6 +114,7 @@ export const RushAPI = { return new Promise((resolve) => resolve([])); const response = await fetchWithTimeout(`${baseURL}`, { method: "PUT", + headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify(body), }); return response.json();