mongoose-paginate
Advanced tools
Comparing version 3.1.5 to 3.1.6
@@ -55,3 +55,3 @@ 'use strict'; | ||
} | ||
callback(null, data.results, Math.ceil(data.count / resultsPerPage) || 1, data.results, data.count); | ||
callback(null, data.results, Math.ceil(data.count / resultsPerPage) || 1, data.count); | ||
}); | ||
@@ -58,0 +58,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Plugin for Mongoose schemas to easily add paginated queries and results", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"contributors": [ | ||
@@ -8,0 +8,0 @@ { |
Sorry, the diff of this file is not supported yet
19214