From e37ef2385d074fade8387e6a5e85e1bd75387178 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 11 Sep 2017 16:32:24 +0100 Subject: [PATCH] Tidying other modules, fixing password and fx --- lib/btc.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/btc.js b/lib/btc.js index 9231d0c..0d77909 100644 --- a/lib/btc.js +++ b/lib/btc.js @@ -14,12 +14,12 @@ function getBitcoin () { function btcQuery (callback) { const options = { 'host': 'api.coindesk.com', - // port: 80, + // port: 80, 'path': '/v1/bpi/currentprice.json', - // method: 'GET', + // method: 'GET', 'headers': { - /* 'Content-Type': 'application/json', + /* 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(data)*/ } @@ -53,7 +53,7 @@ function getBitcoin () { } btcQuery(a => { - // logger.info(a); + // logger.info(a); logger.info('Got btc data. Storing it'); logger.debug('>> btc', a);