fix: add auth token to all API calls (prompts, insights, pipeline)
This commit is contained in:
1 parent
89b6c0b072
commit
5091dfd1ce
5 files changed
+9
-19
No files matched your search
@@ -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:[])
|
||||
|
||||
Reference in new issue
Block a user