Fixing an issue with datasource fetch schema not passing the correct parameters to frontend-core function.

This commit is contained in:
mike12345567 2024-12-17 13:55:07 +00:00
parent 1b6f113f11
commit 4cdc0304c6
1 changed files with 4 additions and 4 deletions

View File

@ -93,10 +93,10 @@ export function createDatasourcesStore() {
}
const updateSchema = async (datasource, tablesFilter) => {
const response = await API.buildDatasourceSchema({
datasourceId: datasource?._id,
tablesFilter,
})
const response = await API.buildDatasourceSchema(
datasource?._id,
tablesFilter
)
updateDatasource(response)
}