Changed /injury roll, /injury set-new, and /injury clear to use search_players() instead of get_players_by_name(). The /players?name= API endpoint fails to find some players (e.g., Gunnar Henderson) while the /players/search?q= endpoint works correctly. This fixes the "Player Not Found" error when users try to clear injuries for players that exist in the database. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| CLAUDE.md | ||
| management.py | ||