refactor(Config): DocumentPathDmz, ExportPathDmz und DocumentPathMoveAftsend sowohl in der Entität als auch im DTO entfernt.
This commit is contained in:
@@ -98,13 +98,6 @@ namespace EnvelopeGenerator.Web.Services
|
||||
//if documenet_path_dmz is existing in config, replace the path with it
|
||||
var config = await _configService.ReadDefaultAsync();
|
||||
|
||||
if (config.DocumentPathDmz is not null && config.DocumentPathDmz != string.Empty)
|
||||
foreach (var doc in envelope.Documents)
|
||||
{
|
||||
doc.Filepath = doc.Filepath.Replace(config.DocumentPath, config.DocumentPathDmz);
|
||||
}
|
||||
|
||||
|
||||
return new()
|
||||
{
|
||||
Receiver = receiver,
|
||||
|
||||
Reference in New Issue
Block a user