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); 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({ > - +