Fix build and warnings

This commit is contained in:
Dennis Reimann 2023-11-30 16:48:24 +01:00
parent 3d08e70101
commit 6f98d5aa20
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0
2 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -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)