Skip to content

Commit 65464c8

Browse files
committed
🚨 fix lint error
1 parent 78eceac commit 65464c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function paginationPlugin(schema, pluginOptions) {
1212
};
1313

1414
schema.statics.paginate = function(query, options, callback) {
15-
query = query ? { ...query } : {};
15+
query = query ? { ...query } : {};
1616
options = options || {};
1717
options.limit = +options.limit || defaultOptions.limit;
1818
options = { ...defaultOptions, ...options };

0 commit comments

Comments
 (0)