diff --git a/ManagerService/Controllers/ConfigurationController.cs b/ManagerService/Controllers/ConfigurationController.cs index f7e9453..3d77150 100644 --- a/ManagerService/Controllers/ConfigurationController.cs +++ b/ManagerService/Controllers/ConfigurationController.cs @@ -266,7 +266,7 @@ namespace ManagerService.Controllers [ProducesResponseType(typeof(string), 404)] [ProducesResponseType(typeof(string), 500)] [HttpGet("{id}/export")] - public FileContentResult Export(string id) + public FileContentResult Export(string id, string language) { try { @@ -367,6 +367,14 @@ namespace ManagerService.Controllers addResourceToList(resourceDTOs, image.resourceId); } } + + foreach (var audio in articleDTO.audioIds.Where(a => a.language == language)) + { + if (audio.value != null) + { + addResourceToList(resourceDTOs, audio.value); + } + } break; case SectionType.Menu: case SectionType.Web: