From d2bafb3d4b54465dff72b617487be4adb35b6f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=99=8D=EC=B0=BD=EA=B8=B0?= Date: Tue, 24 Sep 2024 18:42:46 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Refactor:=20=ED=8C=8C=EC=9D=BC=20=EC=97=85?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20api=EB=A5=BC=20=EC=9D=B4=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=ED=8F=B4=EB=8D=94=20=EC=97=85=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=EB=A1=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/imageApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/imageApi.ts b/frontend/src/api/imageApi.ts index 5fe3572..aaa0aec 100644 --- a/frontend/src/api/imageApi.ts +++ b/frontend/src/api/imageApi.ts @@ -47,11 +47,11 @@ export async function uploadImageFile(memberId: number, projectId: number, folde export async function uploadImageFolder(memberId: number, projectId: number, files: File[]) { const formData = new FormData(); files.forEach((file) => { - formData.append('folderZip', file); + formData.append('imageList', file); }); return api - .post(`/projects/${projectId}/folders/${0}/images/zip`, formData, { + .post(`/projects/${projectId}/folders/${0}/images/file`, formData, { params: { memberId }, }) .then(({ data }) => data); From 3cd358414113deffd0ac0134e98e509395970e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=99=8D=EC=B0=BD=EA=B8=B0?= Date: Tue, 24 Sep 2024 18:48:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Design:=20=ED=8F=B4=EB=8D=94=20=EC=97=85?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EA=B8=B0=EB=8A=A5=EC=97=90=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=20=EB=AC=B8=EA=B5=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/WorkspaceDropdownMenu/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/WorkspaceDropdownMenu/index.tsx b/frontend/src/components/WorkspaceDropdownMenu/index.tsx index 472a159..d4a5898 100644 --- a/frontend/src/components/WorkspaceDropdownMenu/index.tsx +++ b/frontend/src/components/WorkspaceDropdownMenu/index.tsx @@ -57,7 +57,7 @@ export default function WorkspaceDropdownMenu({ 파일 업로드 - 폴더 업로드 + 폴더 업로드 (임시) 폴더 압축파일 업로드 @@ -83,7 +83,7 @@ export default function WorkspaceDropdownMenu({ > - +