mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Fixup email PR and push to npm
This commit is contained in:
@@ -344,7 +344,7 @@ module.exports = function(RED) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
imap.search([ this.criteria ], function(err, results) {
|
||||
imap.search([ node.criteria ], function(err, results) {
|
||||
if (err) {
|
||||
node.status({fill:"red", shape:"ring", text:"email.status.foldererror"});
|
||||
node.error(RED._("email.errors.fetchfail", {folder:node.box}),err);
|
||||
|
Reference in New Issue
Block a user