mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Dixed Bug in the API Controller
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
<div class="grow-0 shrink-0">
|
||||
© 2022 Theodor Springmann Stiftung | Stand vom 27.5.2022 | <a href="/Edition/Kontakt">Kontakt</a> ·
|
||||
<a href="/Edition/Datenschutzerklaerung">Datenschutzerklärung</a>
|
||||
<feature name="AdminService">
|
||||
<span> · <a asp-controller="Admin" asp-action="Index">Admin-Bereich</a></span>
|
||||
</feature>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4,3 +4,4 @@
|
||||
@using HaDocument.Models
|
||||
@using System.Text
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@addTagHelper *, Microsoft.FeatureManagement.AspNetCore
|
||||
|
||||
Reference in New Issue
Block a user