From 6f3105e07dc45c33b7bac5bc7a710ed37d4ddac5 Mon Sep 17 00:00:00 2001 From: TimA Date: Wed, 10 Apr 2024 11:50:57 -0700 Subject: [PATCH] EMBCESSMOD-4989 - Shelter Allowance - Added Allowance as a knownType for serialization --- ess/src/API/EMBC.Tests.Integration.ESS/DynamicsTestData.cs | 4 ++-- .../Controllers/RegistrationsController.Supports.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ess/src/API/EMBC.Tests.Integration.ESS/DynamicsTestData.cs b/ess/src/API/EMBC.Tests.Integration.ESS/DynamicsTestData.cs index e77c90aad..724659c06 100644 --- a/ess/src/API/EMBC.Tests.Integration.ESS/DynamicsTestData.cs +++ b/ess/src/API/EMBC.Tests.Integration.ESS/DynamicsTestData.cs @@ -358,8 +358,8 @@ private era_evacuationfile CreateEvacuationFile(EssContext essContext, contact p private void CreateEvacueeSupports(EssContext essContext, era_evacuationfile file, contact contact, era_essteamuser creator, string prefix) { - var referralSupportTypes = new[] { 174360001, 174360002, 174360003, 174360004, 174360007, 174360009 }; - var etransferSupportTypes = new[] { 174360000, 174360005, 174360006, 174360008, 174360009 }; + var referralSupportTypes = new[] { 174360001, 174360002, 174360003, 174360004, 174360007 }; + var etransferSupportTypes = new[] { 174360000, 174360005, 174360006, 174360008 }; var referrals = referralSupportTypes.Select((t, i) => new era_evacueesupport { diff --git a/responders/src/API/EMBC.Responders.API/Controllers/RegistrationsController.Supports.cs b/responders/src/API/EMBC.Responders.API/Controllers/RegistrationsController.Supports.cs index 682c2af59..118cf8232 100644 --- a/responders/src/API/EMBC.Responders.API/Controllers/RegistrationsController.Supports.cs +++ b/responders/src/API/EMBC.Responders.API/Controllers/RegistrationsController.Supports.cs @@ -253,7 +253,7 @@ public class ProcessPaperReferralsRequest [KnownType(typeof(LodgingBilletingSupport))] [KnownType(typeof(LodgingGroupSupport))] [KnownType(typeof(LodgingHotelSupport))] - [KnownType(typeof(ShelterAllowanceSupport))] + [KnownType(typeof(LodgingAllowanceSupport))] [KnownType(typeof(TransportationOtherSupport))] [KnownType(typeof(TransportationTaxiSupport))] public abstract class Support