diff --git a/src/index.js b/src/index.js index 0343bda..66bf7e3 100644 --- a/src/index.js +++ b/src/index.js @@ -149,7 +149,7 @@ class Service { if (filters.$limit === 0) { executeQuery = total => { return Promise.resolve({ - total, + total: parseInt(total, 10), limit: filters.$limit, skip: filters.$skip || 0, data: []