Fix frontend API integration: correct endpoint and data transformation
- Change getProjects() to call /api/bzzz/active-repos instead of /projects
- Transform Bzzz repository response structure from nested {repositories: [...]} to flat array
- Map repository fields to Project interface with status field (ready_to_claim -> active/inactive)
- Remove defensive array checks since API now returns proper array structure
- Fix TypeError: r.filter is not a function by ensuring proper data flow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
347
frontend/dist/assets/index-f7xYn9lw.js
vendored
Normal file
347
frontend/dist/assets/index-f7xYn9lw.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user