Skip to content

Commit

Permalink
req.param -> req.query
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Oct 3, 2015
1 parent 602f17c commit b5d40b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit b5d40b0

Please sign in to comment.