Take machineid into account for coinatmradar rates (#301)
* Take machineid into account for coinatmradar rates * Remove test leftovers
This commit is contained in:
parent
98cc3b18b7
commit
1a53ce5fa1
4 changed files with 21 additions and 14 deletions
|
|
@ -6,9 +6,9 @@ require('../lib/settings-loader').loadLatest()
|
|||
const pi = plugins(settings)
|
||||
const config = settings.config
|
||||
|
||||
return pi.getRates()
|
||||
return pi.getRawRates()
|
||||
.then(rates => {
|
||||
return car.update({rates, config})
|
||||
return car.update({rates, config}, settings)
|
||||
.then(require('../lib/pp')('DEBUG100'))
|
||||
.catch(console.log)
|
||||
.then(() => process.exit())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue