Files
homepage/scripts/import-bls-nutrition.ts
Alexander Bocken 470d000125
All checks were successful
CI / update (push) Successful in 3m27s
fix: correct BLS 4.0 category mapping for food search results
The CATEGORY_MAP was based on BLS 3.x letter codes which were completely
reshuffled in version 4.0. This caused wrong categories like Schwarztee
showing "Wurstwaren" instead of "Getränke". Remapped all 20 letter codes
to match actual BLS 4.0 Hauptlebensmittelgruppen and regenerated blsDb.
2026-04-08 10:40:26 +02:00

6.0 KiB