mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Fix Authorize attributes
This commit is contained in:
		
							parent
							
								
									15e9fbb923
								
							
						
					
					
						commit
						177339e8d5
					
				@ -6,7 +6,7 @@ using System.Threading.Tasks;
 | 
			
		||||
using MediaBrowser.Common.Extensions;
 | 
			
		||||
using MediaBrowser.Controller.Library;
 | 
			
		||||
using MediaBrowser.Controller.MediaEncoding;
 | 
			
		||||
using MediaBrowser.Controller.Net;
 | 
			
		||||
using Microsoft.AspNetCore.Authorization;
 | 
			
		||||
using Microsoft.AspNetCore.Http;
 | 
			
		||||
using Microsoft.AspNetCore.Mvc;
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ namespace Jellyfin.Api.Controllers
 | 
			
		||||
    /// Attachments controller.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    [Route("Videos")]
 | 
			
		||||
    [Authenticated]
 | 
			
		||||
    [Authorize]
 | 
			
		||||
    public class AttachmentsController : Controller
 | 
			
		||||
    {
 | 
			
		||||
        private readonly ILibraryManager _libraryManager;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user