diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-02-28 09:56:02 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2024-02-28 09:56:02 -0700 |
| commit | c5e723bccd723c4c08b7239c5205085be00bd10d (patch) | |
| tree | d653c6b579ceb8e1a9087f9d6a9347228d23f9d1 /Jellyfin.Api/Controllers/ImageController.cs | |
| parent | 4f0f364ac941dc4a856512c9bf0e6b93fdf7b3ab (diff) | |
Add support for converting from svg to other image types
Diffstat (limited to 'Jellyfin.Api/Controllers/ImageController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ImageController.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ImageController.cs b/Jellyfin.Api/Controllers/ImageController.cs index c031ce338..8368b846d 100644 --- a/Jellyfin.Api/Controllers/ImageController.cs +++ b/Jellyfin.Api/Controllers/ImageController.cs @@ -11,7 +11,6 @@ using System.Security.Cryptography; using System.Threading; using System.Threading.Tasks; using Jellyfin.Api.Attributes; -using Jellyfin.Api.Constants; using Jellyfin.Api.Helpers; using MediaBrowser.Common.Api; using MediaBrowser.Common.Configuration; @@ -1993,7 +1992,7 @@ public class ImageController : BaseJellyfinApiController { if (format.HasValue) { - return new[] { format.Value }; + return [format.Value]; } return GetClientSupportedFormats(); |
