1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Join-reduce keep existing msg properties

see https://discourse.nodered.org/t/no-response-object-after-split-join/63919
This commit is contained in:
Steve-Mcl 2022-08-04 09:39:43 +01:00
parent 5c5855751c
commit 2d7a068644

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 {