Skip to content

Commit

Permalink
labelLimit var wasn't called
Browse files Browse the repository at this point in the history
  • Loading branch information
fdorantesm committed Nov 17, 2018
1 parent b7a8be3 commit 9aff192
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 9aff192

Please sign in to comment.