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:
Dave Conway-Jones 2022-06-15 10:16:12 +01:00
parent 1af56a7f00
commit 6c0d6c5425
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

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 {