undo dumb non-fix to trigger.

This commit is contained in:
Dave Conway-Jones 2018-02-02 10:28:22 +00:00
parent 419019a656
commit a52f195d41
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
1 changed files with 1 additions and 4 deletions

View File

@ -120,10 +120,7 @@ module.exports = function(RED) {
if (node.op2type === "flow" || node.op2type === "global") {
node.topics[topic].m2 = RED.util.evaluateNodeProperty(node.op2,node.op2type,node,msg);
}
if (node.topics.hasOwnProperty(topic)) {
msg2.payload = node.topics[topic].m2;
}
else { node.error("No topic:"+topic,msg); } // temporary fix to try to get more data.
msg2.payload = node.topics[topic].m2;
}
delete node.topics[topic];
node.status({});