mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix credential update
This commit is contained in:
parent
cf1371bfdf
commit
83b40a7ba6
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user