aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Filters/FileResponseFilter.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-01-04 16:01:31 +0100
committerGitHub <noreply@github.com>2023-01-04 08:01:31 -0700
commit69a51c425acef65c229e95f2c361226bd81d64c5 (patch)
tree6b75eaee7de9a4fe5325135c2256a42ea791fedb /Jellyfin.Server/Filters/FileResponseFilter.cs
parentc62f642b384ede386d38cba45f0f3c873ecf5866 (diff)
Fix all warnings in Jellyfin.Api (#9003)
Diffstat (limited to 'Jellyfin.Server/Filters/FileResponseFilter.cs')
-rw-r--r--Jellyfin.Server/Filters/FileResponseFilter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Filters/FileResponseFilter.cs b/Jellyfin.Server/Filters/FileResponseFilter.cs
index 544fdbfd63..1a4559d260 100644
--- a/Jellyfin.Server/Filters/FileResponseFilter.cs
+++ b/Jellyfin.Server/Filters/FileResponseFilter.cs
@@ -40,7 +40,7 @@ namespace Jellyfin.Server.Filters
response.Value.Content.Clear();
// Add all content-types as file.
- foreach (var contentType in producesFileAttribute.GetContentTypes())
+ foreach (var contentType in producesFileAttribute.ContentTypes)
{
response.Value.Content.Add(contentType, _openApiMediaType);
}