fix api/v2/status

This commit is contained in:
Ivan Socolsky 2015-08-25 18:33:23 -03:00
parent 6317c65f2c
commit 880f3185b5
2 changed files with 4 additions and 2 deletions

View File

@ -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);
});

View File

@ -2,7 +2,7 @@
"name": "bitcore-wallet-service",
"description": "A service for Mutisig HD Bitcoin Wallets",
"author": "BitPay Inc",
"version": "0.1.9",
"version": "0.1.10",
"keywords": [
"bitcoin",
"copay",