aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/currency.js
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-06-13 01:36:36 +0800
committerGitHub <noreply@github.com>2017-06-13 01:36:36 +0800
commit4298d80127c51e096f9ad6ce2a20e95e30033a4a (patch)
tree93fd48b1d4c4e646520bb1b8a463bc1fbdcb3eef /app/scripts/controllers/currency.js
parent7057c24471059505ae930f4a81fd24e2120c189b (diff)
parentba254d9041aa2cd656ff313547e890fa40917425 (diff)
downloadtangerine-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.js2
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))