mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix for when after from function or change is an array
This commit is contained in:
@@ -229,7 +229,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
if (valid) {
|
||||
this.on('input', function(msg) {
|
||||
const payloadValidator = new PayloadValidator(msg)
|
||||
const payloadValidator = new PayloadValidator(msg, this.id)
|
||||
for (var i=0; i<this.rules.length; i++) {
|
||||
if (this.rules[i].t === "move") {
|
||||
var r = this.rules[i];
|
||||
|
Reference in New Issue
Block a user