Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Press statements ayesha #282

Merged
merged 12 commits into from
Apr 2, 2021
Merged

Press statements ayesha #282

merged 12 commits into from
Apr 2, 2021

Conversation

ayeshamk
Copy link
Collaborator

@ayeshamk ayeshamk commented Apr 2, 2021

No description provided.

@ayeshamk ayeshamk requested a review from aih April 2, 2021 18:42
@aih
Copy link
Collaborator

aih commented Apr 2, 2021

I'm getting a CORS issue when the UI tries the AJAX call to the ProPublica API-- is this a question of where/how to store the API key?

image

@ayeshamk
Copy link
Collaborator Author

ayeshamk commented Apr 2, 2021

you have to set the environment variable. try

$export PROPUBLICA_CONGRESS_API_KEY=AN_API_KEY

@aih
Copy link
Collaborator

aih commented Apr 2, 2021

Working
image

@aih aih merged commit 21ea44e into main Apr 2, 2021
@aih aih deleted the press_statements_Ayesha branch April 2, 2021 21:19
@aih
Copy link
Collaborator

aih commented Apr 2, 2021

Deployed:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants