From 3074bc108f7d2d81e9438c4feaf5bd9207b307ea Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 26 Apr 2024 17:49:50 +0530 Subject: [PATCH] Fix --- web/apps/photos/src/utils/native-stream.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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",