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:
parent
602f17c8b2
commit
b5d40b083a
1 changed files with 1 additions and 1 deletions
|
@ -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++
|
||||
|
|
Loading…
Reference in a new issue