mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Join: reduce fails if count not in first msg received
This commit is contained in:
@@ -335,9 +335,8 @@ module.exports = function(RED) {
|
||||
}
|
||||
var group = pending[gid];
|
||||
var msgs = group.msgs;
|
||||
if(parts.hasOwnProperty('count') &&
|
||||
(group.count === undefined)) {
|
||||
group.count = count;
|
||||
if(parts.hasOwnProperty('count') && (group.count === undefined)) {
|
||||
group.count = parts.count;
|
||||
}
|
||||
msgs.push(msg);
|
||||
pending_count++;
|
||||
|
Reference in New Issue
Block a user