Skip to content

Commit

Permalink
Merge pull request #1 from fdorantesm/master
Browse files Browse the repository at this point in the history
labelLimit var  wasn't called
  • Loading branch information
aravindnc authored Nov 18, 2018
2 parents b7a8be3 + 9aff192 commit d1edf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function paginate(query, options, callback) {
var result = {
[labelDocs]: data.docs,
[labelTotal]: data.count,
limit: limit
[labelLimit]: limit
};

if (offset !== undefined) {
Expand Down

0 comments on commit d1edf00

Please sign in to comment.