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

react router and dashboard build out #2

Merged
merged 4 commits into from Oct 8, 2019
Merged

Conversation

sam-parsons
Copy link
Contributor

No description provided.

sam-parsons and others added 2 commits October 8, 2019 11:29
Co-authored-by: Nick Ferretti <nf96@cornell.edu>
Co-authored-by: Sam Parsons <samparsons269@gmail.com>
Co-authored-by: Sam Parsons <samparsons269@gmail.com>
Co-authored-by: Nick Ferretti <nf96@cornell.edu>

componentDidMount() {
setInterval(() => {
fetch('https://min-api.cryptocompare.com/data/pricemulti?fsyms=BTC&tsyms=USD&api_key=c3928dbf8fd1c2f62b730f46a5fff3d1ba38535ecd0609cb68c95c31d92edd25').then(res => res.json())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this API key sensitive at all?
Regardless, api keys probably shouldn't be in our version control.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops - will fix

@sam-parsons sam-parsons merged commit a35590a into dev Oct 8, 2019
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

3 participants