Properly encode path links, remove unused password settings

This commit is contained in:
2023-05-30 16:59:11 +02:00
parent 0299b730a5
commit 8377ac1fab
9 changed files with 34 additions and 45 deletions

View File

@@ -69,12 +69,6 @@ export const fs_update = async (path, opts) => {
if (opts.shared !== undefined) {
form.append("shared", opts.shared)
}
if (opts.read_password !== undefined) {
form.append("read_password", opts.read_password)
}
if (opts.write_password !== undefined) {
form.append("write_password", opts.write_password)
}
return await fs_check_response(
await fetch(fs_path_url(path), { method: "POST", body: form })