Skip to content

The Free Software Media System - Server Backend & API

Clean up routes

crobibero98bd61e36443
diff --git a/Jellyfin.Api/Controllers/Images/ImageByNameController.cs b/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
index 67ebaa4e09..62fcb5a2a6 100644
--- a/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
+++ b/Jellyfin.Api/Controllers/Images/ImageByNameController.cs
@@ -48,7 +48,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetGeneralImages()
{
- return Ok(GetImageList(_applicationPaths.GeneralPath, false));
+ return GetImageList(_applicationPaths.GeneralPath, false);
}
/// <summary>
@@ -91,7 +91,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetRatingImages()
{
- return Ok(GetImageList(_applicationPaths.RatingsPath, false));
+ return GetImageList(_applicationPaths.RatingsPath, false);
}
/// <summary>
@@ -122,7 +122,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages()
{
- return Ok(GetImageList(_applicationPaths.MediaInfoImagesPath, false));
+ return GetImageList(_applicationPaths.MediaInfoImagesPath, false);
}
/// <summary>