We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55ebc04 commit 910d64bCopy full SHA for 910d64b
scheduler/state_machine/controller.py
@@ -240,8 +240,8 @@ def on_new_day(self, current_date: date):
240
241
# at day 7 activity C2.9 has to be proposed
242
start_date = get_start_date(self.user_id)
243
- ga_completed = get_activity_completion_state(self.user_id, 29)
244
- if (current_date - start_date).days >= ACTIVITY_C2_9_DAY_TRIGGER and not ga_completed:
+ choose_sport_completed = get_activity_completion_state(self.user_id, 29)
+ if (current_date - start_date).days >= ACTIVITY_C2_9_DAY_TRIGGER and not choose_sport_completed:
245
plan_and_store(user_id=self.user_id,
246
dialog=Components.GENERAL_ACTIVITY,
247
phase_id=1)
0 commit comments