diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-06-13 01:36:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 01:36:36 +0800 |
commit | 4298d80127c51e096f9ad6ce2a20e95e30033a4a (patch) | |
tree | 93fd48b1d4c4e646520bb1b8a463bc1fbdcb3eef /app/scripts/controllers/currency.js | |
parent | 7057c24471059505ae930f4a81fd24e2120c189b (diff) | |
parent | ba254d9041aa2cd656ff313547e890fa40917425 (diff) | |
download | tangerine-wallet-browser-4298d80127c51e096f9ad6ce2a20e95e30033a4a.tar.gz tangerine-wallet-browser-4298d80127c51e096f9ad6ce2a20e95e30033a4a.tar.zst tangerine-wallet-browser-4298d80127c51e096f9ad6ce2a20e95e30033a4a.zip |
Merge pull request #1552 from MetaMask/currency-fix
Fix Currency API
Diffstat (limited to 'app/scripts/controllers/currency.js')
-rw-r--r-- | app/scripts/controllers/currency.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/currency.js b/app/scripts/controllers/currency.js index fb130ed76..1f20dc005 100644 --- a/app/scripts/controllers/currency.js +++ b/app/scripts/controllers/currency.js @@ -45,7 +45,7 @@ class CurrencyController { updateConversionRate () { const currentCurrency = this.getCurrentCurrency() - return fetch(`https://www.cryptonator.com/api/ticker/eth-${currentCurrency}`) + return fetch(`https://api.cryptonator.com/api/ticker/eth-${currentCurrency}`) .then(response => response.json()) .then((parsedResponse) => { this.setConversionRate(Number(parsedResponse.ticker.price)) |