aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ImageController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-03-03 07:59:22 -0500
committerGitHub <noreply@github.com>2024-03-03 07:59:22 -0500
commit3bd1a5c5574d2a0c1bc1b8d9384c1c7c900ac206 (patch)
treedc8188f27067e72069ed5e41d500e82d10ef8282 /Jellyfin.Api/Controllers/ImageController.cs
parent35df0486f5217eef1bbc126bde036dab6759dfbf (diff)
parentc47bfb99bbff9f6b6cd847ba3b786936d59aa0dd (diff)
Merge pull request #11077 from crobibero/svg-to-image
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.cs3
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();