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:
parent
4121abf5d2
commit
9a45cce3b7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user