Skip to content

Commit

Permalink
fix: check for empty HomonymAddition when proposing merger
Browse files Browse the repository at this point in the history
  • Loading branch information
rikdepeuter committed Sep 4, 2024
1 parent 052c376 commit 48d95b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public async Task<IActionResult> 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);
Expand Down

0 comments on commit 48d95b7

Please sign in to comment.