1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

app - currency - fix typo

This commit is contained in:
kumavis 2018-04-03 10:35:41 -07:00
parent ecbab14cae
commit 79d63332ee

View File

@ -43,7 +43,7 @@ class CurrencyController {
this.store.updateState({ conversionDate }) this.store.updateState({ conversionDate })
} }
await updateConversionRate () { async updateConversionRate () {
try { try {
const currentCurrency = this.getCurrentCurrency() const currentCurrency = this.getCurrentCurrency()
const response = await fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`) const response = await fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`)