diff options
| author | KonH <konh@yandex.ru> | 2021-10-03 10:43:05 +0700 |
|---|---|---|
| committer | KonH <konh@yandex.ru> | 2021-10-03 10:43:41 +0700 |
| commit | 7c282ec3694d8e6a127588c41cd0c68f8ee4e93b (patch) | |
| tree | 6aff129fdb79af5ede96835a5a62a5e69f657f19 /Jellyfin.Api/Controllers/HlsSegmentController.cs | |
| parent | 531efc345a2bc6ef64a48b83b0458f327081f394 (diff) | |
Fix warning: The nullable warning suppression expression is redundant (#2149)
Diffstat (limited to 'Jellyfin.Api/Controllers/HlsSegmentController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/HlsSegmentController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/HlsSegmentController.cs b/Jellyfin.Api/Controllers/HlsSegmentController.cs index 473bdc523..71caa0fe0 100644 --- a/Jellyfin.Api/Controllers/HlsSegmentController.cs +++ b/Jellyfin.Api/Controllers/HlsSegmentController.cs @@ -69,7 +69,7 @@ namespace Jellyfin.Api.Controllers return BadRequest("Invalid segment."); } - return FileStreamResponseHelpers.GetStaticFileResult(file, MimeTypes.GetMimeType(file)!, false, HttpContext); + return FileStreamResponseHelpers.GetStaticFileResult(file, MimeTypes.GetMimeType(file), false, HttpContext); } /// <summary> @@ -186,7 +186,7 @@ namespace Jellyfin.Api.Controllers return Task.CompletedTask; }); - return FileStreamResponseHelpers.GetStaticFileResult(path, MimeTypes.GetMimeType(path)!, false, HttpContext); + return FileStreamResponseHelpers.GetStaticFileResult(path, MimeTypes.GetMimeType(path), false, HttpContext); } } } |
