master
Mark Moffat 2020-02-21 12:52:06 +10:30
parent d7113168ca
commit 2b368769a2
1 changed files with 3 additions and 3 deletions

View File

@ -623,7 +623,7 @@ const getData = (req, page, query) => {
let skip = 0; let skip = 0;
if(page > 1){ if(page > 1){
skip = (page - 1) * numberProducts; skip = (page - 1) * process.env.pageSize;
} }
if(!query){ if(!query){