mongoose-paginate-session
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "mongoose-paginate-session", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A custom pagination library for Mongoose with customizable labels.", | ||
@@ -50,4 +50,5 @@ "main": "dist/index.js", | ||
], | ||
"author": "Aravind NC <aravind_n_c@yahoo.co.in> (https://aravindnc.com)", | ||
"author": "fez2000 <eugenefezeu@gmail.com> (https://nextstep.cm)", | ||
"contributors": [ | ||
"Aravind NC <aravind_n_c@yahoo.co.in> (https://aravindnc.com)", | ||
"Fernando López Guevara (fernando.lguevara@gmail.com)" | ||
@@ -54,0 +55,0 @@ ], |
@@ -161,3 +161,3 @@ /** | ||
} | ||
if(session){ | ||
if (session) { | ||
mQuery.session(session); | ||
@@ -164,0 +164,0 @@ } |
class PaginationParametersHelper { | ||
constructor(request, session=null) { | ||
constructor(request, session = null) { | ||
this.query = request.query; | ||
@@ -4,0 +4,0 @@ this.session = session; |
311012
21
1666