aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Files/API/FilesController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-05-11 15:57:05 -0500
committerJP Dillingham <jp@dillingham.me>2024-05-11 15:57:05 -0500
commit9a005447ef2f6726b2139b0ae4d99cf566ef365b (patch)
tree2b22a5ca76cffbd1bf4b24d348b581ad0a592a0c /src/slskd/Files/API/FilesController.cs
parentbbbd09d8208f005fd2a976c025e888e84a3448ec (diff)
downloadslskd-9a005447ef2f6726b2139b0ae4d99cf566ef365b.tar.gz
simplify file service
Diffstat (limited to 'src/slskd/Files/API/FilesController.cs')
-rw-r--r--src/slskd/Files/API/FilesController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Files/API/FilesController.cs b/src/slskd/Files/API/FilesController.cs
index b99af658..1ced3e63 100644
--- a/src/slskd/Files/API/FilesController.cs
+++ b/src/slskd/Files/API/FilesController.cs
@@ -39,14 +39,14 @@ namespace slskd.Files.API
public class FilesController : ControllerBase
{
public FilesController(
- IFileService fileService,
+ FileService fileService,
IOptionsSnapshot<Options> optionsSnapshot)
{
Files = fileService;
OptionsSnapshot = optionsSnapshot;
}
- private IFileService Files { get; }
+ private FileService Files { get; }
private IOptionsSnapshot<Options> OptionsSnapshot { get; }
private ILogger Log { get; set; } = Serilog.Log.ForContext<FilesController>();