Merge branch 'wizard-database' of https://github.com/Ombi-app/Ombi into wizard-database

This commit is contained in:
Jamie Rees 2025-01-03 15:58:43 +00:00
commit be81ff4d46

View file

@ -89,8 +89,9 @@ namespace Ombi.Controllers.V2
_logger.LogError("Wizard has already been completed");
return BadRequest();
}
var sanitizedType = config.Type.Replace(Environment.NewLine, "").Replace("\n", "").Replace("\r", "");
_logger.LogInformation("Setting up database type: {0}", config.Type);
_logger.LogInformation("Setting up database type: {0}", sanitizedType);
var connectionString = string.Empty;
if (config.Type == IDatabaseConfigurationService.MySqlDatabase)