mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-23 04:17:48 +03:00
Fix: API endpoint for getting integration brains (#2231)
This pull request fixes the API endpoint for getting integration brains. Previously, the endpoint was missing a trailing slash, causing the request to fail. This PR adds the missing slash to the endpoint, ensuring that the request is successful.
This commit is contained in:
parent
6941490d9f
commit
193d181eda
@ -160,6 +160,6 @@ export const getDocsFromQuestion = async (
|
||||
export const getIntegrationBrains = async (
|
||||
axiosInstance: AxiosInstance
|
||||
): Promise<IntegrationBrains[]> => {
|
||||
return (await axiosInstance.get<IntegrationBrains[]>(`/brains/integrations`))
|
||||
return (await axiosInstance.get<IntegrationBrains[]>(`/brains/integrations/`))
|
||||
.data;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user