lint
This commit is contained in:
parent
e4500c8e89
commit
fa64ca3d6b
|
@ -135,7 +135,7 @@ export function mergeConfigs(update: Datasource, old: Datasource) {
|
||||||
// specific to REST datasources, fix the auth configs again if required
|
// specific to REST datasources, fix the auth configs again if required
|
||||||
if (hasAuthConfigs(update)) {
|
if (hasAuthConfigs(update)) {
|
||||||
const configs = update.config.authConfigs as RestAuthConfig[]
|
const configs = update.config.authConfigs as RestAuthConfig[]
|
||||||
const oldConfigs = old.config?.authConfigs as RestAuthConfig[] || []
|
const oldConfigs = (old.config?.authConfigs as RestAuthConfig[]) || []
|
||||||
for (let config of configs) {
|
for (let config of configs) {
|
||||||
if (config.type !== RestAuthType.BASIC) {
|
if (config.type !== RestAuthType.BASIC) {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue