Configure only BTC by default; send correct status for reboot
This commit is contained in:
parent
2901666351
commit
c60bd3f02d
2 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ exports.configure = function configure (config) {
|
||||||
|
|
||||||
cachedConfig = config
|
cachedConfig = config
|
||||||
deviceCurrency = config.exchanges.settings.currency
|
deviceCurrency = config.exchanges.settings.currency
|
||||||
cryptoCodes = config.exchanges.settings.coins || ['BTC', 'ETH']
|
cryptoCodes = config.exchanges.settings.coins || ['BTC']
|
||||||
|
|
||||||
cryptoCodes.forEach(cryptoCode => {
|
cryptoCodes.forEach(cryptoCode => {
|
||||||
// TICKER [required] configure (or load)
|
// TICKER [required] configure (or load)
|
||||||
|
|
|
||||||
|
|
@ -336,7 +336,7 @@ function init (localConfig) {
|
||||||
}
|
}
|
||||||
|
|
||||||
reboots[fingerprint] = pid
|
reboots[fingerprint] = pid
|
||||||
res.sendStatus({success: true})
|
res.sendStatus(200)
|
||||||
})
|
})
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue