- fix code voca in subcategory column

This commit is contained in:
2023-09-20 23:25:17 +07:00
parent 395a59b287
commit 04270e20f2
2 changed files with 23 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ export class Product extends BaseModel {
return ProductSubCategories;
},
(subCategories) => {
return subCategories.id;
return subCategories.product;
},
)
sub_categories: ProductSubCategories;