Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathi3074bc108f7d
diff --git a/web/apps/photos/src/utils/native-stream.ts b/web/apps/photos/src/utils/native-stream.ts
index 66d63cc6a4..85d54b7907 100644
--- a/web/apps/photos/src/utils/native-stream.ts
+++ b/web/apps/photos/src/utils/native-stream.ts
@@ -39,7 +39,6 @@ export const readStream = async (
});
const res = await fetch(req);
- console.log(Object.fromEntries(res.headers.entries()));
if (!res.ok)
throw new Error(
`Failed to read stream from ${path}: HTTP ${res.status}`,
@@ -103,7 +102,7 @@ export const writeStream = async (
// GET can't have a body
method: "POST",
body: stream,
- // @ts-expect-error TypeScript's libdom.d.ts does not include the
+ // --@ts-expect-error TypeScript's libdom.d.ts does not include the
// "duplex" parameter, e.g. see
// https://github.com/node-fetch/node-fetch/issues/1769.
duplex: "half",