fix: add categories in subcategoreis
This commit is contained in:
parent
4f035cea2e
commit
2e04cd4ee1
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user