aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/VideosController.cs
diff options
context:
space:
mode:
authorKonH <konh@yandex.ru>2021-10-03 10:43:05 +0700
committerKonH <konh@yandex.ru>2021-10-03 10:43:41 +0700
commit7c282ec3694d8e6a127588c41cd0c68f8ee4e93b (patch)
tree6aff129fdb79af5ede96835a5a62a5e69f657f19 /Jellyfin.Api/Controllers/VideosController.cs
parent531efc345a2bc6ef64a48b83b0458f327081f394 (diff)
Fix warning: The nullable warning suppression expression is redundant (#2149)
Diffstat (limited to 'Jellyfin.Api/Controllers/VideosController.cs')
-rw-r--r--Jellyfin.Api/Controllers/VideosController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs
index 150f22d1b..e1cbc6f33 100644
--- a/Jellyfin.Api/Controllers/VideosController.cs
+++ b/Jellyfin.Api/Controllers/VideosController.cs
@@ -461,7 +461,7 @@ namespace Jellyfin.Api.Controllers
var liveStream = new ProgressiveFileStream(liveStreamInfo.GetStream());
// TODO (moved from MediaBrowser.Api): Don't hardcode contentType
- return File(liveStream, MimeTypes.GetMimeType("file.ts")!);
+ return File(liveStream, MimeTypes.GetMimeType("file.ts"));
}
// Static remote stream