fix : delete category

This commit is contained in:
morteza-mortezai
2025-10-25 20:18:02 +03:30
parent 3053b57056
commit 9b02d9fa07
+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 },
);