fix api/v2/status
This commit is contained in:
parent
6317c65f2c
commit
880f3185b5
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue