req.param -> req.query

This commit is contained in:
Alex Kocharin 2015-10-03 20:01:02 +03:00
parent 602f17c8b2
commit b5d40b083a
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ module.exports = function(config, auth, storage) {
res.status(200)
res.write('{"_updated":' + Date.now());
var stream = storage.search(req.param.startkey || 0, { req: req })
var stream = storage.search(req.query.startkey || 0, { req: req })
stream.on('data', function each(pkg) {
processing_pkgs++