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:
Stan Girard 2024-02-20 16:01:46 -08:00 committed by GitHub
parent 6941490d9f
commit 193d181eda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
};