fix(core): Use CredentialsOverwrites when testing credentials (#4675)
* fix(cli): use CredentialsOverwrites in credentials testing * fix(editor-ui): do not set credential properties if they have been overwritten
This commit is contained in:
committed by
GitHub
parent
4c423762d6
commit
772ec78349
@@ -551,6 +551,13 @@ export class CredentialsHelper extends ICredentialsHelper {
|
||||
});
|
||||
}
|
||||
|
||||
if (credentialsDecrypted.data) {
|
||||
credentialsDecrypted.data = CredentialsOverwrites().applyOverwrite(
|
||||
credentialType,
|
||||
credentialsDecrypted.data,
|
||||
);
|
||||
}
|
||||
|
||||
if (typeof credentialTestFunction === 'function') {
|
||||
// The credentials get tested via a function that is defined on the node
|
||||
const credentialTestFunctions = NodeExecuteFunctions.getCredentialTestFunctions();
|
||||
|
||||
Reference in New Issue
Block a user