π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix lint
Manav Rathib15fb2c614f0
diff --git a/web/packages/gallery/services/upload/remote.ts b/web/packages/gallery/services/upload/remote.tsindex 0d475163ef..c22949e48f 100644--- a/web/packages/gallery/services/upload/remote.ts+++ b/web/packages/gallery/services/upload/remote.ts@@ -47,9 +47,7 @@ export const fetchUploadURLs = async (countHint: number) => {const count = Math.min(50, countHint * 2);const res = await fetch(await apiURL("/files/upload-urls", { count, ts: Date.now() }),- {- headers: await authenticatedRequestHeaders(),- },+ { headers: await authenticatedRequestHeaders() },);ensureOk(res);return ObjectUploadURLResponse.parse(await res.json()).urls;@@ -64,7 +62,10 @@ export const fetchPublicAlbumsUploadURLs = async () => {const count = Math.min(50, countHint * 2);const res = await fetch(- await apiURL("/public-collection/upload-urls", { count, ts: Date.now() }),+ await apiURL("/public-collection/upload-urls", {+ count,+ ts: Date.now(),+ }),{ headers: authenticatedPublicAlbumsRequestHeaders(credentials) },);ensureOk(res);