|
@ -271,7 +271,7 @@ ExpressApp.prototype.start = function(opts, cb) { |
|
|
|
|
|
|
|
|
router.get('/v1/addresses/', function(req, res) { |
|
|
router.get('/v1/addresses/', function(req, res) { |
|
|
getServerWithAuth(req, res, function(server) { |
|
|
getServerWithAuth(req, res, function(server) { |
|
|
server.getMainAddresses({}, function(err, addresses) { |
|
|
server.getMainAddresses(req.body, function(err, addresses) { |
|
|
if (err) return returnError(err, res, req); |
|
|
if (err) return returnError(err, res, req); |
|
|
res.json(addresses); |
|
|
res.json(addresses); |
|
|
}); |
|
|
}); |
|
|