mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-01 04:34:49 -04:00
I keep fixing this but it keeps reverting (#158)
This commit is contained in:
parent
bd89ba326d
commit
32bd5d6ee6
@ -19,16 +19,14 @@ namespace API.Controllers
|
|||||||
private readonly ICacheService _cacheService;
|
private readonly ICacheService _cacheService;
|
||||||
private readonly ILogger<ReaderController> _logger;
|
private readonly ILogger<ReaderController> _logger;
|
||||||
private readonly IUnitOfWork _unitOfWork;
|
private readonly IUnitOfWork _unitOfWork;
|
||||||
private readonly DataContext _dataContext;
|
|
||||||
|
|
||||||
public ReaderController(IDirectoryService directoryService, ICacheService cacheService,
|
public ReaderController(IDirectoryService directoryService, ICacheService cacheService,
|
||||||
ILogger<ReaderController> logger, IUnitOfWork unitOfWork, DataContext dataContext)
|
ILogger<ReaderController> logger, IUnitOfWork unitOfWork)
|
||||||
{
|
{
|
||||||
_directoryService = directoryService;
|
_directoryService = directoryService;
|
||||||
_cacheService = cacheService;
|
_cacheService = cacheService;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_unitOfWork = unitOfWork;
|
_unitOfWork = unitOfWork;
|
||||||
_dataContext = dataContext;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("image")]
|
[HttpGet("image")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user