Dixed Bug in the API Controller

This commit is contained in:
schnulller
2022-06-05 00:22:03 +02:00
parent 9712574e13
commit abc27c6d04
3 changed files with 12 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ using Microsoft.AspNetCore.Http.Features;
public class APIController : Controller {
// DI
private ILibrary _lib;
private IHaDocumentWrappper _lib;
private IReaderService _readerService;
private readonly long _fileSizeLimit;
private readonly string _targetFilePath;
@@ -31,7 +31,7 @@ public class APIController : Controller {
private static readonly FormOptions _defaultFormOptions = new FormOptions();
public APIController(ILibrary lib, IReaderService readerService, IXMLService xmlService, IConfiguration config) {
public APIController(IHaDocumentWrappper lib, IReaderService readerService, IXMLService xmlService, IConfiguration config) {
_lib = lib;
_readerService = readerService;
_xmlService = xmlService;