populate inventory

This commit is contained in:
2025-12-21 09:48:52 +03:30
parent 37f7b11dbc
commit 92377eb265
@@ -48,7 +48,7 @@ export class FoodRepository extends EntityRepository<Food> {
limit,
offset,
orderBy: { [orderBy]: order.toLowerCase() as 'asc' | 'desc' },
populate: ['category'],
populate: ['category','inventory'],
});
const totalPages = Math.ceil(total / limit);