mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
don't log success and don't pass 'time' as an API parameter for emoncms-in
This commit is contained in:
parent
dc3c1b7cc4
commit
6bf034cabb
@ -56,7 +56,6 @@ module.exports = function(RED) {
|
||||
if (typeof msg.time !== 'undefined') {
|
||||
this.url += '&time=' + msg.time;
|
||||
}
|
||||
node.log("[emoncms] "+this.url);
|
||||
http.get(this.url, function(res) {
|
||||
msg.rc = res.statusCode;
|
||||
msg.payload = "";
|
||||
@ -99,10 +98,6 @@ module.exports = function(RED) {
|
||||
if (feedid !== "") {
|
||||
this.url += '&id=' + feedid;
|
||||
}
|
||||
if (typeof msg.payload !== 'undefined') {
|
||||
this.url += '&time=' + msg.payload;
|
||||
}
|
||||
node.log("[emoncms] "+this.url);
|
||||
http.get(this.url, function(res) {
|
||||
msg.rc = res.statusCode;
|
||||
msg.payload = "";
|
||||
|
Loading…
Reference in New Issue
Block a user