diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-05-11 16:49:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-11 16:49:58 -0500 |
| commit | ff841bc6411be74e99b0b71754d23614a59c7187 (patch) | |
| tree | 2b22a5ca76cffbd1bf4b24d348b581ad0a592a0c /src/slskd/Files/API/FilesController.cs | |
| parent | bbbd09d8208f005fd2a976c025e888e84a3448ec (diff) | |
| parent | 9a005447ef2f6726b2139b0ae4d99cf566ef365b (diff) | |
| download | slskd-ff841bc6411be74e99b0b71754d23614a59c7187.tar.gz | |
Merge pull request #1125 from slskd/file-service
Simplify file service
Diffstat (limited to 'src/slskd/Files/API/FilesController.cs')
| -rw-r--r-- | src/slskd/Files/API/FilesController.cs | 4 |
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>(); |
