This commit is contained in:
2025-11-25 11:26:33 +03:30
parent d737b3dc24
commit e21abda0ce
7 changed files with 67 additions and 69 deletions
@@ -48,7 +48,7 @@ export class FoodRepository extends EntityRepository<Food> {
limit,
offset,
orderBy: { [orderBy]: order.toLowerCase() as 'asc' | 'desc' },
populate: ['categories'],
populate: ['category'],
});
const totalPages = Math.ceil(total / limit);