Skip to content

The Free Software Media System - Server Backend & API

Return array -> ienumerable

crobibero35dbcea93115
diff --git a/Jellyfin.Api/Controllers/Images/ImageByNameController.cs b/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
index 6160d54028..67ebaa4e09 100644
--- a/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
+++ b/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
@@ -120,7 +120,7 @@ namespace Jellyfin.Api.Controllers.Images
/// <returns>An <see cref="OkResult"/> containing the list of images.</returns>
[HttpGet("MediaInfo")]
[ProducesResponseType(StatusCodes.Status200OK)]
- public ActionResult<ImageByNameInfo[]> GetMediaInfoImages()
+ public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages()
{
return Ok(GetImageList(_applicationPaths.MediaInfoImagesPath, false));
}