fix: tools api
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user