mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
File In node loses message properties
This commit is contained in:
parent
ba126e90d9
commit
8e7fc011f0
@ -81,7 +81,8 @@ module.exports = function(RED) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
node.warn(err);
|
node.warn(err);
|
||||||
} else {
|
} else {
|
||||||
node.send({payload:data});
|
msg.payload = data;
|
||||||
|
node.send(msg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user