1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Fix lint error in twitter node

This commit is contained in:
Nick O'Leary 2015-10-25 21:35:14 +00:00
parent 4121abf5d2
commit 9a45cce3b7

View File

@ -314,7 +314,7 @@ module.exports = function(RED) {
} else { } else {
if (typeof msg.params === 'undefined') { msg.params = {}; } if (typeof msg.params === 'undefined') { msg.params = {}; }
+ twit.updateStatus(msg.payload, msg.params, function (err, data) { twit.updateStatus(msg.payload, msg.params, function (err, data) {
if (err) { if (err) {
node.status({fill:"red",shape:"ring",text:"twitter.status.failed"}); node.status({fill:"red",shape:"ring",text:"twitter.status.failed"});
node.error(err,msg); node.error(err,msg);