diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-08-04 22:28:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 22:28:52 +0000 |
| commit | ff4489575b0b29638285a0cf255289134900009f (patch) | |
| tree | 249704c4c58724a87d4eeede6df4a26d11a97132 /Jellyfin.Api/Controllers/AlbumsController.cs | |
| parent | 8385c5459142e69eb4004d32b3d772b998c37b0b (diff) | |
| parent | 858aecd409914f6a9ca6f86445ec20c8bacc0b59 (diff) | |
Merge pull request #3819 from crobibero/api-migration-cleanup
Api migration cleanup
Diffstat (limited to 'Jellyfin.Api/Controllers/AlbumsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/AlbumsController.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/AlbumsController.cs b/Jellyfin.Api/Controllers/AlbumsController.cs index 01ba7fc32..190d4bd07 100644 --- a/Jellyfin.Api/Controllers/AlbumsController.cs +++ b/Jellyfin.Api/Controllers/AlbumsController.cs @@ -17,6 +17,7 @@ namespace Jellyfin.Api.Controllers /// <summary> /// The albums controller. /// </summary> + [Route("")] public class AlbumsController : BaseJellyfinApiController { private readonly IUserManager _userManager; @@ -48,7 +49,7 @@ namespace Jellyfin.Api.Controllers /// <param name="limit">Optional. The maximum number of records to return.</param> /// <response code="200">Similar albums returned.</response> /// <returns>A <see cref="QueryResult{BaseItemDto}"/> with similar albums.</returns> - [HttpGet("/Albums/{albumId}/Similar")] + [HttpGet("Albums/{albumId}/Similar")] [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<QueryResult<BaseItemDto>> GetSimilarAlbums( [FromRoute] string albumId, @@ -80,7 +81,7 @@ namespace Jellyfin.Api.Controllers /// <param name="limit">Optional. The maximum number of records to return.</param> /// <response code="200">Similar artists returned.</response> /// <returns>A <see cref="QueryResult{BaseItemDto}"/> with similar artists.</returns> - [HttpGet("/Artists/{artistId}/Similar")] + [HttpGet("Artists/{artistId}/Similar")] [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<QueryResult<BaseItemDto>> GetSimilarArtists( [FromRoute] string artistId, |
