Merge pull request #23 from Danakcorp/mrtz

fix : delete category
This commit is contained in:
morteza-mortezai
2025-10-25 20:18:40 +03:30
committed by GitHub
+1
View File
@@ -157,6 +157,7 @@ class CategoryService {
const productsWithCategory = await this.productRepo.model.find(
{
category: category._id.toString(),
deleted: false,
},
{ _id: 1, title_fa: 1 },
);