diff --git a/README.md b/README.md index 4870a20..4fa07fc 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,12 @@ _Please do keep in mind at this point there are a lot of differences between thi - Version 2.2.1 - Update ATH every time it's lower than 24h high. -- Version 2.2.2-5 +- Version 2.2.2-6 - Updated sheet formulas. - Added error returning to UI. - Limit error return to a single API. + - Fixed CryptoCompare add fiat values + - Removed successful update dialog. ## Planned updates diff --git a/source/APICryptoCompare.gs b/source/APICryptoCompare.gs index 0c7820c..ccf3362 100644 --- a/source/APICryptoCompare.gs +++ b/source/APICryptoCompare.gs @@ -45,7 +45,7 @@ function cryptoCoins(ui, key, fiat, tickers) { /** * Gets coin vs fiat exchnage rate from CryptoCompare API for given date. */ -function cryptoRate(key, fiat, coin, date) { +function cryptoRate(ui, key, fiat, coin, date) { enableCache(); var json = importJson("https://min-api.cryptocompare.com/data/v2/histohour?api_key=" + key + "&fsym=" + coin + "&tsym=" + fiat + "&toTs=" + (date.getTime() / 1000) + "&limit=1&extraParams=cryptoBooks2","Data.Data.0.close"); diff --git a/source/CoinsUpdate.gs b/source/CoinsUpdate.gs index cc65a28..3c9bc75 100644 --- a/source/CoinsUpdate.gs +++ b/source/CoinsUpdate.gs @@ -68,7 +68,5 @@ function updateCoins(ui) { } } } - - ui.alert('Coins updated!'); } } diff --git a/source/FiatValues.gs b/source/FiatValues.gs index 16e3393..fb22e33 100644 --- a/source/FiatValues.gs +++ b/source/FiatValues.gs @@ -40,8 +40,6 @@ function addFiatValues(ui) { setFiat(ui, sheet, coins, fiat, stable, date, fee_count, fee_coin, "I", "J", "K", i + 1); } } - - ui.alert('Finished adding FIAT values!'); } /** diff --git a/source/FluxUpdate.gs b/source/FluxUpdate.gs index acda06a..bf36073 100644 --- a/source/FluxUpdate.gs +++ b/source/FluxUpdate.gs @@ -38,8 +38,6 @@ function updateFlux(ui) { if((r - 2) == days) break; } - - ui.alert('Flux updated!'); } else { ui.alert('Flux update failed!'); }