1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Ignore authconfigs for datasources if they are empty

This commit is contained in:
Dean 2022-07-03 18:55:44 +01:00
parent 6be703d99a
commit 87c44701d8

View file

@ -37,10 +37,13 @@ class QueryRunner {
throw "Integration type does not exist." throw "Integration type does not exist."
} }
datasource.config.authConfigs = enrichQueryFields( if (datasource.config.authConfigs) {
datasource.config.authConfigs, datasource.config.authConfigs = datasource.config.authConfigs.map(
this.ctx config => {
) return enrichQueryFields(config, this.ctx)
}
)
}
const integration = new Integration(datasource.config) const integration = new Integration(datasource.config)