From 8e7fc011f00c10143deae96fc65c302a4f1f8113 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 8 May 2014 11:13:35 +0100 Subject: [PATCH] File In node loses message properties --- nodes/core/storage/50-file.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes/core/storage/50-file.js b/nodes/core/storage/50-file.js index 026d4fd27..016079898 100644 --- a/nodes/core/storage/50-file.js +++ b/nodes/core/storage/50-file.js @@ -81,7 +81,8 @@ module.exports = function(RED) { if (err) { node.warn(err); } else { - node.send({payload:data}); + msg.payload = data; + node.send(msg); } }); }