fix: add auth token to all API calls (prompts, insights, pipeline)
Deploy to Raspberry Pi / deploy (push) Failing after 12s
Build Test / build-frontend (push) Failing after 2s
Build Test / lint-backend (push) Failing after 1s

This commit is contained in:
Lars committed 2026-03-16 16:52:36 +01:00
1 parent 89b6c0b072
commit 5091dfd1ce
5 files changed
+9 -19

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ export default function NutritionPage() {
const [corr, wkly, prof] = await Promise.all([
nutritionApi.nutritionCorrelations(),
nutritionApi.nutritionWeekly(16),
fetch('/api/profile').then(r=>r.json()),
api.getActiveProfile(),
])
setCorr(Array.isArray(corr)?corr:[])
setWeekly(Array.isArray(wkly)?wkly:[])