add: pageSize in findAllForPartner
This commit is contained in:
parent
7e525b3cff
commit
af8f42c2d3
|
@ -336,8 +336,8 @@ export class ProductService {
|
|||
}
|
||||
|
||||
const data = await baseQuery
|
||||
.offset(page * 10)
|
||||
.limit(10)
|
||||
.offset(page * pageSize)
|
||||
.limit(pageSize)
|
||||
.getRawMany();
|
||||
|
||||
const totalData = await baseQuery.getCount();
|
||||
|
|
Loading…
Reference in New Issue
Block a user