assign to _lamassuConfig

This commit is contained in:
Josh Harvey 2014-04-18 17:46:05 +03:00
parent 72e19cdc96
commit b5400cd559
2 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,8 @@ var pair = function(req, res) {
);
};
exports.init = function(app, trader, authMiddleware) {
exports.init = function(app, config, trader, authMiddleware) {
_lamassuConfig = config;
_trader = trader;
app.get('/poll/:currency', authMiddleware, poll);