From 5793e14740e8fbb6986c210af2266accfcea5e0b Mon Sep 17 00:00:00 2001 From: Abhinav Date: Tue, 9 May 2023 12:13:46 +0530 Subject: [PATCH] change addLogLine to addLocalLog --- src/services/export/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/services/export/index.ts b/src/services/export/index.ts index eff998616..34b8597d9 100644 --- a/src/services/export/index.ts +++ b/src/services/export/index.ts @@ -253,8 +253,9 @@ class ExportService { exportRecord ); - addLogLine( - `personal files:${userPersonalFiles.length} unexported files: ${unExportedFiles.length}, deleted exported files: ${deletedExportedFiles.length}, renamed collections: ${renamedCollections.length}, deleted collections: ${deletedCollections.length}` + addLocalLog( + () => + `personal files:${userPersonalFiles.length} unexported files: ${unExportedFiles.length}, deleted exported files: ${deletedExportedFiles.length}, renamed collections: ${renamedCollections.length}, deleted collections: ${deletedCollections.length}` ); return {