mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Return array -> ienumerable
This commit is contained in:
parent
cbd4a64e67
commit
35dbcea931
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user