mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-31 11:54:24 +01:00
Fix build and warnings
This commit is contained in:
@@ -48,7 +48,7 @@ namespace BTCPayServer.HostedServices
|
||||
private readonly BTCPayServerEnvironment _environment;
|
||||
private readonly NotificationSender _notificationSender;
|
||||
|
||||
public async Task<string> Fetch(CancellationToken cancellation)
|
||||
public virtual async Task<string> Fetch(CancellationToken cancellation)
|
||||
{
|
||||
if (_updateurl == null)
|
||||
return null;
|
||||
|
||||
@@ -81,9 +81,6 @@ namespace BTCPayServer.HostedServices
|
||||
|
||||
public class PluginUpdateFetcher : IPeriodicTask
|
||||
{
|
||||
private readonly HttpClient _httpClient;
|
||||
private readonly Uri _updateurl;
|
||||
|
||||
public PluginUpdateFetcher(
|
||||
SettingsRepository settingsRepository,
|
||||
ILogger<PluginUpdateFetcher> logger, NotificationSender notificationSender, PluginService pluginService)
|
||||
|
||||
Reference in New Issue
Block a user