From 5f569f845c548cb3176198bd93860326772ba9fd Mon Sep 17 00:00:00 2001 From: Ashish Viradiya Date: Mon, 28 Oct 2024 03:05:01 +0530 Subject: [PATCH] fix notion file upload route --- components/documents/add-document-modal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/documents/add-document-modal.tsx b/components/documents/add-document-modal.tsx index 7e6e1b40f..ad8e8a2e6 100644 --- a/components/documents/add-document-modal.tsx +++ b/components/documents/add-document-modal.tsx @@ -303,6 +303,7 @@ export function AddDocumentModal({ numPages: 1, type: "notion", createLink: false, + folderPathName: currentFolderPath?.join("/"), }), }, );