add: relation
This commit is contained in:
@@ -46,6 +46,7 @@ export class ProductService {
|
||||
findAll(page) {
|
||||
return this.productRepository.findAndCount({
|
||||
skip: page * 10,
|
||||
relations: ['subCategories'],
|
||||
take: 10,
|
||||
order: {
|
||||
version: 'DESC',
|
||||
|
||||
Reference in New Issue
Block a user