diff --git a/gateway/assistant.py b/gateway/assistant.py index 447ec7f..daa8e62 100644 --- a/gateway/assistant.py +++ b/gateway/assistant.py @@ -735,8 +735,7 @@ def handle_fitness_assistant(handler, body, user): current_drafts.append(clamp_draft({"entry_date": requested_date, **item})) # ── Apply action ── - # ── Apply action ── - # (debug logging removed) + if action == "apply": if has_complete_drafts(current_drafts): results = [apply_draft(user_id, item, i) for i, item in enumerate(current_drafts)] failed = next((r for r in results if not r["ok"]), None)