Fix currency-api link (#5803)

This commit is contained in:
Fawaz Ahmed 2024-03-04 06:40:30 +05:30 committed by GitHub
parent a171671fe5
commit 2db1434929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ namespace BTCPayServer.Services.Rates;
public class FreeCurrencyRatesRateProvider : IRateProvider public class FreeCurrencyRatesRateProvider : IRateProvider
{ {
public RateSourceInfo RateSourceInfo => new("free-currency-rates", "Free Currency Rates", "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.min.json"); public RateSourceInfo RateSourceInfo => new("free-currency-rates", "Free Currency Rates", "https://currency-api.pages.dev/v1/currencies/btc.min.json");
private readonly HttpClient _httpClient; private readonly HttpClient _httpClient;
public FreeCurrencyRatesRateProvider(HttpClient httpClient) public FreeCurrencyRatesRateProvider(HttpClient httpClient)
{ {