浏览代码

fix: tools api

Timothy J. Baek 10 月之前
父节点
当前提交
681fd4ff3b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/apis/tools/index.ts

+ 1 - 1
src/lib/apis/tools/index.ts

@@ -34,7 +34,7 @@ export const createNewTool = async (token: string, tool: object) => {
 export const getTools = async (token: string = '') => {
 	let error = null;
 
-	const res = await fetch(`${WEBUI_API_BASE_URL}/tools`, {
+	const res = await fetch(`${WEBUI_API_BASE_URL}/tools/`, {
 		method: 'GET',
 		headers: {
 			Accept: 'application/json',