Clean up routes

pull/2944/head
crobibero 5 years ago
parent 35dbcea931
commit 98bd61e364

@ -48,7 +48,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetGeneralImages() public ActionResult<IEnumerable<ImageByNameInfo>> GetGeneralImages()
{ {
return Ok(GetImageList(_applicationPaths.GeneralPath, false)); return GetImageList(_applicationPaths.GeneralPath, false);
} }
/// <summary> /// <summary>
@ -91,7 +91,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetRatingImages() public ActionResult<IEnumerable<ImageByNameInfo>> GetRatingImages()
{ {
return Ok(GetImageList(_applicationPaths.RatingsPath, false)); return GetImageList(_applicationPaths.RatingsPath, false);
} }
/// <summary> /// <summary>
@ -122,7 +122,7 @@ namespace Jellyfin.Api.Controllers.Images
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages() public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages()
{ {
return Ok(GetImageList(_applicationPaths.MediaInfoImagesPath, false)); return GetImageList(_applicationPaths.MediaInfoImagesPath, false);
} }
/// <summary> /// <summary>

Loading…
Cancel
Save