Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config
This commit is contained in:
commit
2990291657
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ export async function verifyAIConfig(
|
||||||
existingConfig: AIConfig
|
existingConfig: AIConfig
|
||||||
) {
|
) {
|
||||||
// ensure that the redacted API keys are not overwritten in the DB
|
// ensure that the redacted API keys are not overwritten in the DB
|
||||||
for (let uuid in existingConfig.config) {
|
for (const uuid in existingConfig.config) {
|
||||||
if (configToSave[uuid]?.apiKey === PASSWORD_REPLACEMENT) {
|
if (configToSave[uuid]?.apiKey === PASSWORD_REPLACEMENT) {
|
||||||
configToSave[uuid].apiKey = existingConfig.config[uuid].apiKey
|
configToSave[uuid].apiKey = existingConfig.config[uuid].apiKey
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue