@go-mailer/jarvis 3.2.9 → 3.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/query.js +1 -1
  2. package/package.json +1 -1
package/lib/query.js CHANGED
@@ -125,7 +125,7 @@ const buildWildcardOptions = (key_list, value) => {
125
125
 
126
126
  const determinePagination = (page = 0, population) => {
127
127
  const pagination = {
128
- skip: population ? skip * population : skip
128
+ skip: population ? page * population : page
129
129
  }
130
130
 
131
131
  if (population) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-mailer/jarvis",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:go-mailer-ltd/jarvis-node.git",
6
6
  "author": "Nathan Oguntuberu <nateoguns.work@gmail.com>",