aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-05-11 19:15:40 -0500
committerJP Dillingham <jp@dillingham.me>2024-05-11 19:15:40 -0500
commite0874640202c2a978685bdc8c19e05ce049b081b (patch)
tree3a32b269c0c3a17e9710e8782c0d47be40d4ff8e /src
parent2c8a0d34b4bc89a0f51cdd0e5667cc4fa8ee5424 (diff)
downloadslskd-e0874640202c2a978685bdc8c19e05ce049b081b.tar.gz
inject FileService
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index bf036e48..41fb45ee 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -120,12 +120,14 @@ namespace slskd.Transfers.Downloads
IOptionsMonitor<Options> optionsMonitor,
ISoulseekClient soulseekClient,
IDbContextFactory<TransfersDbContext> contextFactory,
+ FileService fileService,
IRelayService relayService,
IFTPService ftpClient)
{
Client = soulseekClient;
OptionsMonitor = optionsMonitor;
ContextFactory = contextFactory;
+ Files = fileService;
FTP = ftpClient;
Relay = relayService;
}
@@ -134,6 +136,7 @@ namespace slskd.Transfers.Downloads
private ISoulseekClient Client { get; }
private IDbContextFactory<TransfersDbContext> ContextFactory { get; }
private IFTPService FTP { get; }
+ private FileService Files { get; }
private IRelayService Relay { get; }
private ILogger Log { get; } = Serilog.Log.ForContext<DownloadService>();
private IOptionsMonitor<Options> OptionsMonitor { get; }