Fixing endpoint to info from tables for datasource fetching.
This commit is contained in:
parent
7afbce696b
commit
b7fd069d00
|
@ -74,9 +74,9 @@ export const buildDatasourceEndpoints = API => ({
|
|||
* Fetch table names available within the datasource, for filtering out undesired tables
|
||||
* @param datasource the datasource configuration to use for fetching tables
|
||||
*/
|
||||
fetchTablesForDatasource: async datasource => {
|
||||
fetchInfoForDatasource: async datasource => {
|
||||
return await API.post({
|
||||
url: `/api/datasources/tables`,
|
||||
url: `/api/datasources/info`,
|
||||
body: { datasource },
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue