Timothy J. Baek 11 месяцев назад
Родитель
Сommit
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',