Updating datasources to use new onlyFound option.
This commit is contained in:
parent
d667276fa1
commit
3a40a64d15
|
@ -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<string, string>,
|
||||
|
|
Loading…
Reference in New Issue