File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const putToolIcon: (
8787 data : any ,
8888 loading ?: Ref < boolean >
8989) => Promise < Result < any > > = ( id , data , loading ) => {
90- return put ( `${ prefix } /${ id } /edit_icon` , data , undefined , loading )
90+ return put ( `${ prefix } /tool/ ${ id } /edit_icon` , data , undefined , loading )
9191}
9292
9393const exportTool = ( id : string , name : string , loading ?: Ref < boolean > ) => {
@@ -103,14 +103,14 @@ const postToolDebug: (data: any, loading?: Ref<boolean>) => Promise<Result<any>>
103103 data : any ,
104104 loading ,
105105) => {
106- return post ( `${ prefix } /debug` , data , undefined , loading )
106+ return post ( `${ prefix } /tool/ debug` , data , undefined , loading )
107107}
108108
109109const postImportTool : ( data : any , loading ?: Ref < boolean > ) => Promise < Result < any > > = (
110110 data ,
111111 loading ,
112112) => {
113- return post ( `${ prefix } /import` , data , undefined , loading )
113+ return post ( `${ prefix } /tool/ import` , data , undefined , loading )
114114}
115115
116116const postPylint : ( code : string , loading ?: Ref < boolean > ) => Promise < Result < any > > = (
You can’t perform that action at this time.
0 commit comments