This commit is contained in:
2026-04-17 07:08:04 +02:00
parent ca91af9682
commit 0d3bd47f7a
34 changed files with 17503 additions and 160 deletions
@@ -49,9 +49,15 @@ public class ConsolidatedExportService : IConsolidatedExportService
!string.IsNullOrWhiteSpace(spConfig.ClientId) &&
!string.IsNullOrWhiteSpace(spConfig.ClientSecret))
{
var centralFolderConfigured = !string.IsNullOrWhiteSpace(spConfig.CentralExportFolder);
var sharePointFolder = centralFolderConfigured
? spConfig.CentralExportFolder
: spConfig.ExportFolder;
var landSubfolder = centralFolderConfigured ? string.Empty : "Alle";
await _sharePointService.UploadAsync(
spConfig.TenantId, spConfig.ClientId, spConfig.ClientSecret,
spConfig.SiteUrl, spConfig.ExportFolder, "Alle", consolidatedPath);
spConfig.SiteUrl, sharePointFolder, landSubfolder, consolidatedPath);
}
return consolidatedPath;