From 3a40a64d155894ee725743e1293b2fea13ce8076 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 27 Jan 2023 15:21:04 +0000 Subject: [PATCH] Updating datasources to use new onlyFound option. --- packages/server/src/sdk/app/datasources/datasources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/sdk/app/datasources/datasources.ts b/packages/server/src/sdk/app/datasources/datasources.ts index 8ad08ce980..df06f12739 100644 --- a/packages/server/src/sdk/app/datasources/datasources.ts +++ b/packages/server/src/sdk/app/datasources/datasources.ts @@ -16,7 +16,7 @@ const USER_PREFIX = "user" async function enrichDatasourceWithValues(datasource: Datasource) { const cloned = cloneDeep(datasource) const env = await getEnvironmentVariables() - const processed = processObjectSync(cloned, { env }) + const processed = processObjectSync(cloned, { env }, { onlyFound: true }) return { datasource: processed as Datasource, envVars: env as Record,