fix attribute ordering

This commit is contained in:
crobibero 2020-08-04 08:30:03 -06:00
parent 8f6c2e7679
commit e1226f12f2
2 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// The artists controller.
/// </summary>
[Authorize(Policy = Policies.DefaultAuthorization)]
[Route("Artists")]
[Authorize(Policy = Policies.DefaultAuthorization)]
public class ArtistsController : BaseJellyfinApiController
{
private readonly ILibraryManager _libraryManager;

View File

@ -15,8 +15,8 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// The collection controller.
/// </summary>
[Authorize(Policy = Policies.DefaultAuthorization)]
[Route("Collections")]
[Authorize(Policy = Policies.DefaultAuthorization)]
public class CollectionController : BaseJellyfinApiController
{
private readonly ICollectionManager _collectionManager;