diff --git a/index.js b/index.js index 5e96edd..cdb1a4e 100644 --- a/index.js +++ b/index.js @@ -91,7 +91,7 @@ function paginate(query, options, callback) { var result = { [labelDocs]: data.docs, [labelTotal]: data.count, - limit: limit + [labelLimit]: limit }; if (offset !== undefined) {