Timothy J. Baek 10 mesiacov pred
rodič
commit
681fd4ff3b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 = '') => {
 export const getTools = async (token: string = '') => {
 	let error = null;
 	let error = null;
 
 
-	const res = await fetch(`${WEBUI_API_BASE_URL}/tools`, {
+	const res = await fetch(`${WEBUI_API_BASE_URL}/tools/`, {
 		method: 'GET',
 		method: 'GET',
 		headers: {
 		headers: {
 			Accept: 'application/json',
 			Accept: 'application/json',