mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3670 from node-red/join-reduce-keep-msg
Join node in reduce mode doesn't keep existing msg properties
This commit is contained in:
commit
51ebb2579f
@ -314,11 +314,13 @@ module.exports = function(RED) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
return done(err);
|
return done(err);
|
||||||
}
|
}
|
||||||
msgInfo.send({payload: result});
|
msgInfo.msg.payload = result;
|
||||||
|
msgInfo.send(msgInfo.msg);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
msgInfo.send({payload: result});
|
msgInfo.msg.payload = result;
|
||||||
|
msgInfo.send(msgInfo.msg);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user