refactor: simplify upload rules and remove destination flow
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user