Updated the /admin-process-transactions command to follow the proper service layer architecture instead of accessing API clients directly. Changes: - Use transaction_service.get_all_items() to fetch transactions - Use player_service.update_player_team() to update player rosters - Work with Transaction model objects instead of raw API dictionaries - Added player_service import This follows the established pattern of using service layer methods for all API interactions, improving code consistency and maintainability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| league_management.py | ||
| management.py | ||
| users.py | ||