add: pageSize in findAllForPartner
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user