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
The API call that is used in the Where contributions come from map should be consistent with the one we are using on the candidate profile page. We need to change the call to include /history/ like this:
/candidate/[committee_id]/committees/history/[cycle]?per_page=100&API_KEY=[key]&designation=P&designation=A&election_full=true
Completion criteria
Check the committees link on the Where contributions come from "Browse individual contributions" button link and the individual state dollar figure links now use the updated API call
The text was updated successfully, but these errors were encountered:
@rfultz You should be able to keep it as cycle since we are passing election_full=true, that should take care of getting the full election years worth of committees. I'll update the issue
Sorry @rfultz, I mis-interpreted this endpoint. You'll need to put cycle as part of the endpoint path and not as a query param. It doesn't seem to take cycle in that way
Summary
The API call that is used in the Where contributions come from map should be consistent with the one we are using on the candidate profile page. We need to change the call to include
/history/
like this:/candidate/[committee_id]/committees/history/[cycle]?per_page=100&API_KEY=[key]&designation=P&designation=A&election_full=true
Completion criteria
The text was updated successfully, but these errors were encountered: