Commit Graph

1 Commits

Author SHA1 Message Date
root
279d9af55b fix: Critical router-service integration issues
1. Fixed import paths:
   - players.py: from .base → from ..services.base
   - teams.py: from .base → from ..services.base

2. Added @classmethod decorators to PlayerService methods:
   - get_players()
   - search_players()
   - get_player()
   - update_player()
   - patch_player()
   - create_players()
   - delete_player()

3. Updated all classmethods to use cls instead of self

Result: Router can now call service methods as static (PlayerService.get_players())
2026-02-03 17:20:40 +00:00