Tidying other modules, fixing password and fx

This commit is contained in:
Martin Donnelly 2017-09-11 16:32:24 +01:00
parent 19c3711550
commit e37ef2385d

View File

@ -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);