Remove the need to provide a bucket ID to each API call

This commit is contained in:
2023-05-30 15:51:10 +02:00
parent 2647a22c91
commit 0299b730a5
23 changed files with 95 additions and 96 deletions

View File

@@ -12,9 +12,7 @@ let create_dir = () => {
let form = new FormData()
form.append("type", "dir")
fs_mkdir(
state.root.id, state.base.path+"/"+new_dir_name,
).then(resp => {
fs_mkdir(state.base.path+"/"+new_dir_name).then(resp => {
new_dir_name = "" // Clear input field
}).catch(err => {
if (err.value && err.value === "node_already_exists") {