From e778022a9842d4878322dc9b7ecfbdd1909d8514 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 2 Dec 2024 16:17:57 +0000 Subject: [PATCH] Enrich the datasource when not passing the datasource ID. --- packages/server/src/sdk/app/rows/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/sdk/app/rows/utils.ts b/packages/server/src/sdk/app/rows/utils.ts index 50170dd8bd..c19654d817 100644 --- a/packages/server/src/sdk/app/rows/utils.ts +++ b/packages/server/src/sdk/app/rows/utils.ts @@ -96,7 +96,7 @@ export async function enrichQueryJson( }) } } else { - datasource = json.endpoint.datasourceId + datasource = await sdk.datasources.enrich(json.endpoint.datasourceId) } let tables: Record