Tidying other modules, fixing password and fx
This commit is contained in:
parent
19c3711550
commit
e37ef2385d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user