Merge pull request #334 from isocolsky/ref/status

Fix api/v2/status
This commit is contained in:
Matias Alejo Garcia 2015-08-25 18:37:56 -03:00
commit d01c0dbfdd
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",