Skip to content

armgit / ente

Public Imported from GitHub
0

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

console.log(Object.fromEntries(res.headers.entries()));

Manav Rathifaba29b4228b
diff --git a/web/apps/photos/src/utils/native-stream.ts b/web/apps/photos/src/utils/native-stream.ts
index 75e018b876..83824e7a9f 100644
--- a/web/apps/photos/src/utils/native-stream.ts
+++ b/web/apps/photos/src/utils/native-stream.ts
@@ -51,7 +51,7 @@ export const readStream = async (
};
const readNumericHeader = (res: Response, key: string) => {
- const valueText = res.headers[key];
+ const valueText = res.headers.get(key);
const value = +valueText;
if (isNaN(value))
throw new Error(