Merge pull request #4544 from GogoVega/fix-creds-convert-node

(convertNode) Do not create the credentials object if there is nothing to export
pull/4552/head
Nick O'Leary 2024-01-26 13:49:56 +00:00 committed by GitHub
commit 9bd7131914
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -1228,7 +1228,6 @@ RED.nodes = (function() {
}
}
} else if (n.credentials) {
node.credentials = {};
// All other nodes have a well-defined list of possible credentials
for (var cred in n._def.credentials) {
if (n._def.credentials.hasOwnProperty(cred)) {