diff --git a/src/StreetNameRegistry.Api.BackOffice/StreetNameController-ProposeForMunicipalityMerger.cs b/src/StreetNameRegistry.Api.BackOffice/StreetNameController-ProposeForMunicipalityMerger.cs index 6f529f44a..9f0475e86 100644 --- a/src/StreetNameRegistry.Api.BackOffice/StreetNameController-ProposeForMunicipalityMerger.cs +++ b/src/StreetNameRegistry.Api.BackOffice/StreetNameController-ProposeForMunicipalityMerger.cs @@ -161,7 +161,7 @@ public async Task ProposeForMunicipalityMerger( streetNamesByNisCode.Select(x => new ProposeStreetNamesForMunicipalityMergerSqsRequestItem( persistentLocalIdGenerator.GenerateNextPersistentLocalId(), x.Key.StreetName, - x.Key.HomonymAddition, + string.IsNullOrWhiteSpace(x.Key.HomonymAddition) ? null : x.Key.HomonymAddition, x.Value)).ToList(), new ProvenanceData(CreateProvenance(Modification.Insert, $"Fusie {nisCode}"))) , cancellationToken);