fix: add categories in subcategoreis
This commit is contained in:
@@ -48,6 +48,7 @@ export class ProductSubCategoriesService {
|
|||||||
return this.productSubCategoriesRepository.findAndCount({
|
return this.productSubCategoriesRepository.findAndCount({
|
||||||
skip: page * 10,
|
skip: page * 10,
|
||||||
take: 10,
|
take: 10,
|
||||||
|
relations: ['category'],
|
||||||
order: {
|
order: {
|
||||||
version: 'DESC',
|
version: 'DESC',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user