Skip to content

Commit

Permalink
Merge pull request node-red#4544 from GogoVega/fix-creds-convert-node
Browse files Browse the repository at this point in the history
(convertNode) Do not create the credentials object if there is nothing to export
  • Loading branch information
knolleary authored Jan 26, 2024
2 parents 8485ca2 + 14811b5 commit 9bd7131
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 9bd7131

Please sign in to comment.