diff --git a/nodes/99-sample.js.demo b/nodes/99-sample.js.demo index 02a0abf6e..f9269451d 100644 --- a/nodes/99-sample.js.demo +++ b/nodes/99-sample.js.demo @@ -48,7 +48,7 @@ module.exports = function(RED) { node.warn("I saw a payload: "+msg.payload); // in this example just send it straight on... should process it here really this.send(msg); - } + }); this.on("close", function() { // Called when the node is shutdown - eg on redeploy.