mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
undo dumb non-fix to trigger.
This commit is contained in:
parent
419019a656
commit
a52f195d41
@ -120,11 +120,8 @@ module.exports = function(RED) {
|
|||||||
if (node.op2type === "flow" || node.op2type === "global") {
|
if (node.op2type === "flow" || node.op2type === "global") {
|
||||||
node.topics[topic].m2 = RED.util.evaluateNodeProperty(node.op2,node.op2type,node,msg);
|
node.topics[topic].m2 = RED.util.evaluateNodeProperty(node.op2,node.op2type,node,msg);
|
||||||
}
|
}
|
||||||
if (node.topics.hasOwnProperty(topic)) {
|
|
||||||
msg2.payload = node.topics[topic].m2;
|
msg2.payload = node.topics[topic].m2;
|
||||||
}
|
}
|
||||||
else { node.error("No topic:"+topic,msg); } // temporary fix to try to get more data.
|
|
||||||
}
|
|
||||||
delete node.topics[topic];
|
delete node.topics[topic];
|
||||||
node.status({});
|
node.status({});
|
||||||
node.send(msg2);
|
node.send(msg2);
|
||||||
|
Loading…
Reference in New Issue
Block a user