We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78eceac commit 65464c8Copy full SHA for 65464c8
src/index.js
@@ -12,7 +12,7 @@ export default function paginationPlugin(schema, pluginOptions) {
12
};
13
14
schema.statics.paginate = function(query, options, callback) {
15
- query = query ? { ...query } : {};
+ query = query ? { ...query } : {};
16
options = options || {};
17
options.limit = +options.limit || defaultOptions.limit;
18
options = { ...defaultOptions, ...options };
0 commit comments