mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
better escape for node-red without done.
This commit is contained in:
@@ -77,7 +77,7 @@ module.exports = function(RED) {
|
||||
|
||||
this.on("input", function(msg, send, done) {
|
||||
if (msg.hasOwnProperty("payload")) {
|
||||
send = send || node.send;
|
||||
send = send || function() { node.send.apply(node,arguments) };
|
||||
if (smtpTransport) {
|
||||
node.status({fill:"blue",shape:"dot",text:"email.status.sending"});
|
||||
if (msg.to && node.name && (msg.to !== node.name)) {
|
||||
|
Reference in New Issue
Block a user