This commit is contained in:
thororen1234 2026-07-09 16:32:36 -04:00
parent 575aad1025
commit cf08239295
No known key found for this signature in database

View file

@ -136,8 +136,7 @@ function handleAuthFailure() {
}
async function doSyncV2(uploads: SyncRequest["uploads"], clientManifest: ManifestEntry[]): Promise<SyncResponse | null> {
let res: Response;
res = await fetch(new URL("/v2/sync", getCloudUrl()), {
const res = await fetch(new URL("/v2/sync", getCloudUrl()), {
method: "POST",
headers: {
Authorization: await getCloudAuth(),