mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:19:24 +01:00
Fix build and warnings
This commit is contained in:
parent
3d08e70101
commit
6f98d5aa20
2 changed files with 1 additions and 4 deletions
|
@ -48,7 +48,7 @@ namespace BTCPayServer.HostedServices
|
||||||
private readonly BTCPayServerEnvironment _environment;
|
private readonly BTCPayServerEnvironment _environment;
|
||||||
private readonly NotificationSender _notificationSender;
|
private readonly NotificationSender _notificationSender;
|
||||||
|
|
||||||
public async Task<string> Fetch(CancellationToken cancellation)
|
public virtual async Task<string> Fetch(CancellationToken cancellation)
|
||||||
{
|
{
|
||||||
if (_updateurl == null)
|
if (_updateurl == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -81,9 +81,6 @@ namespace BTCPayServer.HostedServices
|
||||||
|
|
||||||
public class PluginUpdateFetcher : IPeriodicTask
|
public class PluginUpdateFetcher : IPeriodicTask
|
||||||
{
|
{
|
||||||
private readonly HttpClient _httpClient;
|
|
||||||
private readonly Uri _updateurl;
|
|
||||||
|
|
||||||
public PluginUpdateFetcher(
|
public PluginUpdateFetcher(
|
||||||
SettingsRepository settingsRepository,
|
SettingsRepository settingsRepository,
|
||||||
ILogger<PluginUpdateFetcher> logger, NotificationSender notificationSender, PluginService pluginService)
|
ILogger<PluginUpdateFetcher> logger, NotificationSender notificationSender, PluginService pluginService)
|
||||||
|
|
Loading…
Add table
Reference in a new issue