ZUGFeRDWebService: Fix config

This commit is contained in:
Jonathan Jenne
2023-02-28 13:21:55 +01:00
parent 1c428b7db6
commit 2f11b7082b
3 changed files with 8 additions and 7 deletions

View File

@@ -107,8 +107,8 @@ namespace ZUGFeRDRESTService.Controllers
if (!bool.TryParse(oZugferdConfig["Zugferd10"], out _AllowZugferd10))
{
_logger.Info("Configuration Zugferd10 was not set. Using default value [{0}]", false);
_AllowZugferd10 = false;
_logger.Info("Configuration Zugferd10 was not set. Using default value [{0}]", true);
_AllowZugferd10 = true;
}
if (!int.TryParse(oAppConfig["MaxFileSizeInMegabytes"], out _MaxFileSizeInMegabytes))