refactor: simplify upload rules and remove destination flow

This commit is contained in:
Tom Boullay
2026-04-24 16:23:02 +02:00
parent 61a0146545
commit 944959fc22
20 changed files with 2033 additions and 217 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ async function davRequest(
Authorization: auth,
...extraHeaders,
},
body: body ?? undefined,
body: body == null ? undefined : typeof body === 'string' ? body : new Uint8Array(body),
})
return res