Lint
parent
d7113168ca
commit
2b368769a2
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue