Commit Graph

5 Commits

Author SHA1 Message Date
david 5763534e26 fix: check response.ok before parsing JSON in fetch calls
Fix JSON parsing errors when server returns non-JSON responses:
- Check response.ok before calling response.json()
- Add fallback error messages using status text
- Apply fix to all fetch calls across 12 components

This prevents 'JSON.parse: unexpected character' errors when
server returns HTML error pages or other non-JSON responses.
2026-04-26 16:44:47 -07:00
david 222fb0bdc3 feat: add delete player functionality to admin panel 2026-03-31 16:16:10 -07:00
david fa7a422ce3 feat: add player merge functionality with automatic Elo recalculation 2026-03-30 22:04:31 -07:00
david db782ff504 feat: add player name editing functionality in admin UI and fix site_admin access to admin dashboard 2026-03-30 21:58:30 -07:00
david 9201b2c437 feat: add admin player management page 2026-03-30 21:51:26 -07:00