From 40897e3343a43cba3a4876359f61a3148589aa6c Mon Sep 17 00:00:00 2001 From: jsangmin99 Date: Wed, 2 Oct 2024 21:03:52 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=ED=95=98=EB=93=9C=20=EC=BD=94=EB=94=A9?= =?UTF-8?q?=EB=90=9C=20=EC=B1=84=EB=84=90=EC=95=84=EC=9D=B4=EB=94=94?= =?UTF-8?q?=EB=A5=BC=20URL=20=EC=97=90=EC=84=9C=20=EA=B0=80=EC=A0=B8?= =?UTF-8?q?=EC=98=A4=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drive/FolderComponent.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/drive/FolderComponent.vue b/src/components/drive/FolderComponent.vue index 4f9abe1..d0c7c71 100644 --- a/src/components/drive/FolderComponent.vue +++ b/src/components/drive/FolderComponent.vue @@ -158,7 +158,7 @@ export default { async createFolder() { try { const response = await axios.post(`${process.env.VUE_APP_API_BASE_URL}/drive/folder/create`, { - channelId: 1, + channelId: this.$route.params.id, // URL에서 채널 ID 추출 parentFolderId: this.currentFolderId, }); alert(response.data.result.message || '폴더 생성 완료'); @@ -283,7 +283,7 @@ export default { return; } const metadataDto = { - channelId: 1, // 적절한 채널 ID로 수정 + channelId: this.$route.params.id, // 적절한 채널 ID로 수정 folderId: this.currentFolderId, fileType: 'OTHER', fileSaveListDto: uploadedFileUrls.map((url, index) => ({