diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index 1b58a37..4921ece 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -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()