From 4cdc0304c6e02ca0d6da7e294def83cc35677956 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 17 Dec 2024 13:55:07 +0000 Subject: [PATCH] Fixing an issue with datasource fetch schema not passing the correct parameters to frontend-core function. --- packages/builder/src/stores/builder/datasources.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/builder/src/stores/builder/datasources.js b/packages/builder/src/stores/builder/datasources.js index 6a2a026ae4..ad2e719160 100644 --- a/packages/builder/src/stores/builder/datasources.js +++ b/packages/builder/src/stores/builder/datasources.js @@ -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) }