Restore twitter in node topic

This commit is contained in:
Nicholas O'Leary
2013-10-09 20:18:09 +01:00
parent a1de6d2d0b
commit e907341d69
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ function TwitterInNode(n) {
this.user = n.user;
this.tags = n.tags.replace(/ /g,'');
this.twitter = n.twitter;
this.topic = n.topic;
this.topic = n.topic||"tweets";
this.twitterConfig = RED.nodes.getNode(this.twitter);
var credentials = RED.nodes.getCredentials(this.twitter);