Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

I keep fixing this but it keeps reverting (#158)

Joseph Milazzo32bd5d6ee6cc
diff --git a/API/Controllers/ReaderController.cs b/API/Controllers/ReaderController.cs
index bb3edc787..491b08a17 100644
--- a/API/Controllers/ReaderController.cs
+++ b/API/Controllers/ReaderController.cs
@@ -19,16 +19,14 @@ namespace API.Controllers
private readonly ICacheService _cacheService;
private readonly ILogger<ReaderController> _logger;
private readonly IUnitOfWork _unitOfWork;
- private readonly DataContext _dataContext;
public ReaderController(IDirectoryService directoryService, ICacheService cacheService,
- ILogger<ReaderController> logger, IUnitOfWork unitOfWork, DataContext dataContext)
+ ILogger<ReaderController> logger, IUnitOfWork unitOfWork)
{
_directoryService = directoryService;
_cacheService = cacheService;
_logger = logger;
_unitOfWork = unitOfWork;
- _dataContext = dataContext;
}
[HttpGet("image")]