Merge pull request #3821 from Steve-Mcl/backport-3670

Join-reduce keep existing msg properties (backport to v2.x)
This commit is contained in:
Nick O'Leary
2022-08-04 12:58:21 +01:00
committed by GitHub

View File

@@ -314,11 +314,13 @@ module.exports = function(RED) {
if (err) {
return done(err);
}
msgInfo.send({payload: result});
msgInfo.msg.payload = result;
msgInfo.send(msgInfo.msg);
done();
});
} else {
msgInfo.send({payload: result});
msgInfo.msg.payload = result;
msgInfo.send(msgInfo.msg);
done();
}
} else {