From 6bf034cabb5409629cc98154cf83407b2cacbf6a Mon Sep 17 00:00:00 2001 From: Glyn Hudson Date: Tue, 27 Oct 2015 15:24:45 +0000 Subject: [PATCH] don't log success and don't pass 'time' as an API parameter for emoncms-in --- io/emoncms/88-emoncms.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/io/emoncms/88-emoncms.js b/io/emoncms/88-emoncms.js index fd8eecbe..36e489a4 100644 --- a/io/emoncms/88-emoncms.js +++ b/io/emoncms/88-emoncms.js @@ -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 = "";