|
|
@ -173,7 +173,9 @@ ExpressApp.prototype.start = function(opts, cb) { |
|
|
|
|
|
|
|
router.get('/v2/wallets/', function(req, res) { |
|
|
|
getServerWithAuth(req, res, function(server) { |
|
|
|
server.getStatus(req.query, function(err, status) { |
|
|
|
var opts = {}; |
|
|
|
if (req.query.includeExtendedInfo == '1') opts.includeExtendedInfo = true; |
|
|
|
server.getStatus(opts, function(err, status) { |
|
|
|
if (err) return returnError(err, res, req); |
|
|
|
res.json(status); |
|
|
|
}); |
|
|
|