load locale from config
This commit is contained in:
parent
54ce45e4e7
commit
f00dda92fc
1 changed files with 1 additions and 7 deletions
|
|
@ -41,13 +41,7 @@ var poll = function(req, res) {
|
||||||
err: null,
|
err: null,
|
||||||
rate: rate * _trader.config.exchanges.settings.commission,
|
rate: rate * _trader.config.exchanges.settings.commission,
|
||||||
fiat: _trader.fiatBalance(0, 0),
|
fiat: _trader.fiatBalance(0, 0),
|
||||||
locale: {
|
locale: _trader.config.brain.locale,
|
||||||
currency: 'USD',
|
|
||||||
localeInfo: {
|
|
||||||
primaryLocale: 'en-US',
|
|
||||||
primaryLocales: ['en-US']
|
|
||||||
}
|
|
||||||
},
|
|
||||||
txLimit: parseInt(_trader.config.exchanges.settings.compliance.maximum.limit, 10)
|
txLimit: parseInt(_trader.config.exchanges.settings.compliance.maximum.limit, 10)
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue