fix: add categories in subcategoreis

This commit is contained in:
ilham 2021-12-16 20:53:19 +07:00
parent 4f035cea2e
commit 2e04cd4ee1

View File

@ -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',
}, },