0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

req.param -> req.query

This commit is contained in:
Alex Kocharin 2015-10-03 20:01:02 +03:00
parent 602f17c8b2
commit b5d40b083a

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++