Goals -System refactored - Platzhaltersystem enhanced (als draft) #53

Merged
Lars merged 86 commits from develop into main 2026-03-31 11:46:48 +02:00
Showing only changes of commit 6f20915d73 - Show all commits

View File

@ -386,7 +386,7 @@ def _score_weight_trend(profile_id: str) -> Optional[int]:
from goal_utils import get_active_goals
goals = get_active_goals(profile_id)
weight_goals = [g for g in goals if g.get('type_key') == 'weight']
weight_goals = [g for g in goals if g.get('goal_type') == 'weight']
if not weight_goals:
return None