From 9a12deebb02aa6cd3d082a6020ba21620200cd45 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Sat, 3 Sep 2022 17:42:01 +0530 Subject: [PATCH] don't update File Path --- src/services/upload/uploadManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/upload/uploadManager.ts b/src/services/upload/uploadManager.ts index 1a4f3ff59..e33eef96c 100644 --- a/src/services/upload/uploadManager.ts +++ b/src/services/upload/uploadManager.ts @@ -468,7 +468,6 @@ class UploadManager { ].includes(fileUploadResult) ) { this.updateExistingFiles(decryptedFile); - await this.updateFilePaths(decryptedFile, fileWithCollection); await this.watchFolderCallback( fileWithCollection, uploadedFile @@ -534,6 +533,7 @@ class UploadManager { } } + // not used private async updateFilePaths( decryptedFile: EnteFile, fileWithCollection: FileWithCollection