diff --git a/BTCPayServer.Rating/Providers/ExchangeRateHostRateProvider.cs b/BTCPayServer.Rating/Providers/ExchangeRateHostRateProvider.cs index 96497199e..59add1df7 100644 --- a/BTCPayServer.Rating/Providers/ExchangeRateHostRateProvider.cs +++ b/BTCPayServer.Rating/Providers/ExchangeRateHostRateProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; @@ -11,7 +11,7 @@ namespace BTCPayServer.Services.Rates; public class ExchangeRateHostRateProvider : IRateProvider { - public RateSourceInfo RateSourceInfo => new("exchangeratehost", "Yadio", "https://api.exchangerate.host/latest?base=BTC"); + public RateSourceInfo RateSourceInfo => new("exchangeratehost", "Exchangerate.host", "https://api.exchangerate.host/latest?base=BTC"); private readonly HttpClient _httpClient; public ExchangeRateHostRateProvider(HttpClient httpClient) { diff --git a/BTCPayServer/Controllers/UIStoresController.cs b/BTCPayServer/Controllers/UIStoresController.cs index a17527fc9..e5b406a41 100644 --- a/BTCPayServer/Controllers/UIStoresController.cs +++ b/BTCPayServer/Controllers/UIStoresController.cs @@ -862,8 +862,8 @@ namespace BTCPayServer.Controllers private IEnumerable GetSupportedExchanges() { return _RateFactory.RateProviderFactory.AvailableRateProviders - .Where(r => !string.IsNullOrWhiteSpace(r.Name)) - .OrderBy(s => s.Id, StringComparer.OrdinalIgnoreCase); + .Where(r => !string.IsNullOrWhiteSpace(r.DisplayName)) + .OrderBy(s => s.DisplayName, StringComparer.OrdinalIgnoreCase); }