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,
|
||||
rate: rate * _trader.config.exchanges.settings.commission,
|
||||
fiat: _trader.fiatBalance(0, 0),
|
||||
locale: {
|
||||
currency: 'USD',
|
||||
localeInfo: {
|
||||
primaryLocale: 'en-US',
|
||||
primaryLocales: ['en-US']
|
||||
}
|
||||
},
|
||||
locale: _trader.config.brain.locale,
|
||||
txLimit: parseInt(_trader.config.exchanges.settings.compliance.maximum.limit, 10)
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue