Fix training plan retrieval by updating API endpoint#310
Conversation
WalkthroughThe training plan endpoint path for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)garminconnect/**⚙️ CodeRabbit configuration file
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the small but important fix! |
This PR fixes issue #309.
The
get_training_plan_by_idmethod was using an incorrect API endpoint:The old endpoint consistently returned 404 Not Found. Updating to the correct phased endpoint restores proper training plan retrieval.
Executing the same test reproduced in the issue now returns the expected result:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.