From b2ced581ae70d256f81e0dc9308ec8d652093668 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Wed, 25 Mar 2015 22:49:01 -0300 Subject: [PATCH 1/2] change pagination params in express app --- lib/expressapp.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/expressapp.js b/lib/expressapp.js index 27ebcc9..e44e26a 100644 --- a/lib/expressapp.js +++ b/lib/expressapp.js @@ -262,8 +262,7 @@ ExpressApp.start = function(opts) { router.get('/v1/txhistory/', function(req, res) { getServerWithAuth(req, res, function(server) { var opts = {}; - if (req.query.minTs) opts.minTs = +req.query.minTs; - if (req.query.maxTs) opts.maxTs = +req.query.maxTs; + if (req.query.skip) opts.skip = +req.query.skip; if (req.query.limit) opts.limit = +req.query.limit; server.getTxHistory(opts, function(err, txs) { From 934317db40120fd1fb4a781d8e11c0589f18211f Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Wed, 25 Mar 2015 22:49:21 -0300 Subject: [PATCH 2/2] v0.0.13 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a78a9a..3581cf5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "bitcore-wallet-service", "description": "A service for Mutisig HD Bitcoin Wallets", "author": "BitPay Inc", - "version": "0.0.12", + "version": "0.0.13", "keywords": [ "bitcoin", "copay",