From 85f26dfdb179196f205d02fbdf4c23b8d933ce2a Mon Sep 17 00:00:00 2001 From: amit <1mitccc@gmail.com> Date: Wed, 18 Dec 2024 01:17:43 +0530 Subject: [PATCH] fix: remove onedrive folder depth constraint --- packages/api/src/filestorage/folder/services/onedrive/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/filestorage/folder/services/onedrive/index.ts b/packages/api/src/filestorage/folder/services/onedrive/index.ts index 3055982ba..4fb9b72c9 100644 --- a/packages/api/src/filestorage/folder/services/onedrive/index.ts +++ b/packages/api/src/filestorage/folder/services/onedrive/index.ts @@ -115,7 +115,7 @@ export class OnedriveService implements IFolderService { let batch: string[] = [remote_folder_id]; while (batch.length > 0) { - if (depth > 5) { + if (depth > 50) { this.logger.warn('Maximum folder depth reached.'); break; }