Files
PocketVeto/backend/app/services/congress_api.py
Jack Levy 1a8061539f fix: member sync — robust chamber parsing and district int conversion
- Handle terms as list or dict (Congress.gov API inconsistency)
- Infer 'House of Representatives' from district presence as fallback
- Convert district to int before str() to avoid leading zeros / 'None'

Authored by: Jack Levy
2026-03-15 11:09:55 -04:00

9.1 KiB