_user_constraints() loads dietary_constraints from user_settings once per request. All 7 _enrich_item call sites now pass constraints so wine (and any future alcohol-containing entries) are suppressed for halal/alcohol-free users at the API response layer. |
||
|---|---|---|
| .. | ||
| api | ||
| core | ||
| db | ||
| models | ||
| services | ||
| staples | ||
| static | ||
| styles | ||
| tasks | ||
| utils | ||
| __init__.py | ||
| cloud_session.py | ||
| main.py | ||
| tiers.py | ||