Skip to content

Commit 9891c96

Browse files
committed
fix: correct folder_id path in delete function in folder.ts
1 parent 59e4710 commit 9891c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/api/folder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const delFolder: (
8888
source: string,
8989
loading?: Ref<boolean>,
9090
) => Promise<Result<boolean>> = (folder_id, source, loading) => {
91-
return del(`${prefix.value}/${source}/folder${folder_id}`, undefined, {}, loading)
91+
return del(`${prefix.value}/${source}/folder/${folder_id}`, undefined, {}, loading)
9292
}
9393

9494
export default {

0 commit comments

Comments
 (0)