You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing committee C00580100 with no cycle passed, it displays the committee's PAC name instead of its 2020 PCC name. This committee converted from a PCC to a PAC in the 2022 cycle.
In the 2020 cycle for this committee, we should be seeing this name: DONALD J. TRUMP FOR PRESIDENT, INC.
API call
The API call that shows the committee's name is: https://api.open.fec.gov/v1/committee/C00580100/history?per_page=1&api_key=DEMO_KEY. The API name is defaulted to the most recent name which is MAKE AMERICA GREAT AGAIN PAC. There is logic in the CMS that will default a committee's view to last_cycle_has_financial which is 2020 in this case. The API doesn't seem to have similar default logic when returning the committee name.
Summary
When viewing committee C00580100 with no cycle passed, it displays the committee's PAC name instead of its 2020 PCC name. This committee converted from a PCC to a PAC in the 2022 cycle.
In the 2020 cycle for this committee, we should be seeing this name:
DONALD J. TRUMP FOR PRESIDENT, INC.
API call
The API call that shows the committee's name is: https://api.open.fec.gov/v1/committee/C00580100/history?per_page=1&api_key=DEMO_KEY. The API name is defaulted to the most recent name which is
MAKE AMERICA GREAT AGAIN PAC
. There is logic in the CMS that will default a committee's view tolast_cycle_has_financial
which is2020
in this case. The API doesn't seem to have similar default logic when returning the committee name.How to Reproduce
Screenshots
The text was updated successfully, but these errors were encountered: