1
0
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:
Nick O'Leary 2022-06-27 14:29:41 +01:00 committed by GitHub
commit 51ebb2579f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {