mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix credential update
This commit is contained in:
@@ -84,7 +84,6 @@ Node.prototype.close = function() {};
|
|||||||
|
|
||||||
|
|
||||||
Node.prototype.send = function(msg) {
|
Node.prototype.send = function(msg) {
|
||||||
console.log(this.id,this.type,this.wires);
|
|
||||||
var msgSent = false;
|
var msgSent = false;
|
||||||
var node;
|
var node;
|
||||||
|
|
||||||
|
@@ -149,7 +149,7 @@ var flowNodes = module.exports = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (credentialsChanged) {
|
if (credentialsChanged) {
|
||||||
credentialsSavePromise = credentials.save();
|
credentialSavePromise = credentials.save();
|
||||||
} else {
|
} else {
|
||||||
credentialSavePromise = when.resolve();
|
credentialSavePromise = when.resolve();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user