fix: wrong method
This commit is contained in:
parent
506a65f27a
commit
52cbf57613
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ const useStorage = defineStore('storageStore', () => {
|
|||
if (arr.length < 4) return // the system only allow file to live in level 3 and 4
|
||||
|
||||
loader.show()
|
||||
await api.patch(
|
||||
await api.delete(
|
||||
constructUrl(arr.slice(0, -1), false) + `/file/${arr[arr.length - 1]}`,
|
||||
)
|
||||
loader.hide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue