From 08618076e99117c2e2af48519c0158e85c3575fb Mon Sep 17 00:00:00 2001 From: Quinten Van Assche Date: Fri, 9 Feb 2024 13:41:30 +0100 Subject: [PATCH] fix: or-1282 bug introduced by reverting loactieType to string --- .../Projections/Detail/BeheerVerenigingDetailProjector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AssociationRegistry.Admin.ProjectionHost/Projections/Detail/BeheerVerenigingDetailProjector.cs b/src/AssociationRegistry.Admin.ProjectionHost/Projections/Detail/BeheerVerenigingDetailProjector.cs index c52ff4cac..d44d946d5 100644 --- a/src/AssociationRegistry.Admin.ProjectionHost/Projections/Detail/BeheerVerenigingDetailProjector.cs +++ b/src/AssociationRegistry.Admin.ProjectionHost/Projections/Detail/BeheerVerenigingDetailProjector.cs @@ -311,7 +311,7 @@ public static void Apply(IEvent locatieWerdGewijzigd, Behe update: l => l with { IsPrimair = locatieWerdGewijzigd.Data.Locatie.IsPrimair, - Locatietype = l.Locatietype, + Locatietype = locatieWerdGewijzigd.Data.Locatie.Locatietype, Naam = locatieWerdGewijzigd.Data.Locatie.Naam, Adres = BeheerVerenigingDetailMapper.MapAdres( locatieWerdGewijzigd.Data.Locatie.Adres, document.VCode, l.LocatieId),