Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Tweak

Manav Rathi5a79658e582b
diff --git a/web/apps/photos/src/utils/file/index.ts b/web/apps/photos/src/utils/file/index.ts
index 630859c751..1de404b14b 100644
--- a/web/apps/photos/src/utils/file/index.ts
+++ b/web/apps/photos/src/utils/file/index.ts
@@ -468,9 +468,8 @@ async function downloadFileDesktop(
downloadDir: string,
) {
const fs = electron.fs;
- const stream = (await DownloadManager.getFile(
- file,
- )) as ReadableStream<Uint8Array>;
+
+ const stream = await DownloadManager.getFile(file);
const updatedStream = await getUpdatedEXIFFileForDownload(file, stream);
if (file.metadata.fileType === FILE_TYPE.LIVE_PHOTO) {