Skip to content

Commit

Permalink
Merge pull request busyorg#868 from busyorg/fix-cryptonator-api
Browse files Browse the repository at this point in the history
Fix url API endpoint cryptonator
  • Loading branch information
bonustrack authored Oct 20, 2017
2 parents 6653c2b + 366caf7 commit 5b7898c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/appActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export const setLocale = locale =>
export const getRate = () =>
(dispatch) => {
dispatch({ type: RATE_REQUEST });
fetch('https://api.cryptonator.com/api/ticker/steem-usd')
fetch('https://api.coinmarketcap.com/v1/ticker/steem/')
.then(res => res.json())
.then((json) => {
const rate = json.ticker.price;
const rate = json[0].price_usd;
dispatch({
type: RATE_SUCCESS,
rate,
Expand Down

0 comments on commit 5b7898c

Please sign in to comment.