1
0
Fork 0
mirror of synced 2024-07-27 00:55:50 +12:00

Fixing endpoint to info from tables for datasource fetching.

This commit is contained in:
mike12345567 2023-06-06 13:49:11 +01:00
parent 7afbce696b
commit b7fd069d00

View file

@ -74,9 +74,9 @@ export const buildDatasourceEndpoints = API => ({
* Fetch table names available within the datasource, for filtering out undesired tables * Fetch table names available within the datasource, for filtering out undesired tables
* @param datasource the datasource configuration to use for fetching tables * @param datasource the datasource configuration to use for fetching tables
*/ */
fetchTablesForDatasource: async datasource => { fetchInfoForDatasource: async datasource => {
return await API.post({ return await API.post({
url: `/api/datasources/tables`, url: `/api/datasources/info`,
body: { datasource }, body: { datasource },
}) })
}, },