mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Downplay twitter geo-area capability (from warn to log)
This commit is contained in:
parent
c3926f6513
commit
dfc427c192
@ -28,7 +28,7 @@ module.exports = function(RED) {
|
|||||||
screen_name: {type:"text"},
|
screen_name: {type:"text"},
|
||||||
access_token: {type: "password"},
|
access_token: {type: "password"},
|
||||||
access_token_secret: {type:"password"}
|
access_token_secret: {type:"password"}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function TwitterInNode(n) {
|
function TwitterInNode(n) {
|
||||||
@ -158,7 +158,7 @@ module.exports = function(RED) {
|
|||||||
st = { locations: node.tags };
|
st = { locations: node.tags };
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
node.warn("twitter: possible bad geo area format. Should be lower-left lon,lat, upper-right lon,lat");
|
node.log("possible bad geo area format. Should be lower-left lon, lat, upper-right lon, lat");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user