• Mahmoud Aglan's avatar
    fix: complete Swiss API integration fixes for bot tournament flow · 102e8b47
    Mahmoud Aglan authored
    1. Content-Type: application/json only sent when body is not null.
       Swiss API rejects bodiless POST/GET with that header.
    2. Controller start() now calls Swiss API /start endpoint.
    3. simulateNextRound() auto-starts Swiss tournament if local status
       is still draft/registration.
    4. generateRound response parsing fixed — data is in {round:{id,...}}.
    5. getPairings response wrapped in {data:[...]} — now handled.
    6. Pairing field names use camelCase (whitePlayerId not white_player_id).
    7. Player ratings fetched from listPlayers instead of expecting them
       embedded in pairing objects.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    102e8b47
Name
Last commit
Last update
..
ApiProxy.php Loading commit data...
AuditLog.php Loading commit data...
Auth.php Loading commit data...
Database.php Loading commit data...
OrgPermissions.php Loading commit data...
Pagination.php Loading commit data...
Response.php Loading commit data...
Router.php Loading commit data...
RuleEngine.php Loading commit data...
SupabaseStorage.php Loading commit data...
ThemeService.php Loading commit data...
Validator.php Loading commit data...
View.php Loading commit data...