diff --git a/src/workers/sync-engine/modules/contents/application/ContentsDownloader.ts b/src/workers/sync-engine/modules/contents/application/ContentsDownloader.ts index 52d3a3f9f..b16ea5766 100644 --- a/src/workers/sync-engine/modules/contents/application/ContentsDownloader.ts +++ b/src/workers/sync-engine/modules/contents/application/ContentsDownloader.ts @@ -30,8 +30,8 @@ export class ContentsDownloader { }); }); - downloader.on('progress', async (progress: number) => { - cb(true, ''); // TODO: fix this, we should not use path here + downloader.on('progress', (progress: number) => { + cb(true, ''); this.ipc.send('FILE_DOWNLOADING', { name: file.name, extension: file.type,