mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: correct folder_id path in delete function in folder.ts
This commit is contained in:
parent
59e4710a42
commit
9891c96e54
|
|
@ -88,7 +88,7 @@ const delFolder: (
|
|||
source: string,
|
||||
loading?: Ref<boolean>,
|
||||
) => Promise<Result<boolean>> = (folder_id, source, loading) => {
|
||||
return del(`${prefix.value}/${source}/folder${folder_id}`, undefined, {}, loading)
|
||||
return del(`${prefix.value}/${source}/folder/${folder_id}`, undefined, {}, loading)
|
||||
}
|
||||
|
||||
export default {
|
||||
|
|
|
|||
Loading…
Reference in New Issue