mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3821 from Steve-Mcl/backport-3670
Join-reduce keep existing msg properties (backport to v2.x)
This commit is contained in:
commit
66f6bc59fa
@ -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