Skip to content

Commit

Permalink
fix: mapping integration projections
Browse files Browse the repository at this point in the history
  • Loading branch information
emalfroy committed Jan 17, 2024
1 parent 0131aae commit e62d253
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public static void UpdateNameByLanguage(this StreetNameVersion item, Language? l
case Language.English:
item.NameEnglish = value;
break;
default: throw new InvalidOperationException($"Name language '{language}' has no mapping.");
}
}

Expand All @@ -60,7 +59,6 @@ public static void UpdateHomonymAdditionByLanguage(this StreetNameVersion item,
case Language.English:
item.HomonymAdditionEnglish = value;
break;
default: throw new InvalidOperationException($"HomonymAddition language '{language}' has no mapping.");
}
}

Expand Down

0 comments on commit e62d253

Please sign in to comment.