From 5fd3aa3e5daf7f2618ca038dce974f1a411284f0 Mon Sep 17 00:00:00 2001 From: Dominik Barcikowski Date: Fri, 29 Oct 2021 09:17:09 +0200 Subject: [PATCH 1/3] fix: Updates lastName on application save --- sites/partners/lib/formatApplicationData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/partners/lib/formatApplicationData.ts b/sites/partners/lib/formatApplicationData.ts index cdde1f6214..6051234e38 100644 --- a/sites/partners/lib/formatApplicationData.ts +++ b/sites/partners/lib/formatApplicationData.ts @@ -83,7 +83,7 @@ export const mapFormToApi = (data: FormData, listingId: string, editMode: boolea const emailAddress: string | null = applicantData?.emailAddress || null applicantData.firstName = mapEmptyStringToNull(applicantData.firstName) - applicantData.lastName = mapEmptyStringToNull(applicantData.firstName) + applicantData.lastName = mapEmptyStringToNull(applicantData.lastName) const workAddress = getAddress( applicantData?.workInRegion === YesNoAnswer.Yes, From 6ad6e7075a34809e995b0353e42d0284de0d5244 Mon Sep 17 00:00:00 2001 From: Dominik Barcikowski Date: Fri, 29 Oct 2021 09:39:03 +0200 Subject: [PATCH 2/3] docs: Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7012817eb2..398ce378c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file. The format - Language typo in the paper applications table ([#1965](https://github.com/bloom-housing/bloom/pull/1965)) (Jared White) - Improved UX for the Building Selection Criteria drawer ([#1994](https://github.com/bloom-housing/bloom/pull/1994)) (Jared White) - alternate contact email is validated ([#2035](https://github.com/bloom-housing/bloom/pull/2035)) (Yazeed) - + - Incorrect last name ([#2107](https://github.com/bloom-housing/bloom/pull/2107)) (Dominik Barcikowski) ## Backend - Fixed: From 7650370f34960cb20dcd62a6228e365a7842f67a Mon Sep 17 00:00:00 2001 From: Lint Action Date: Fri, 29 Oct 2021 07:42:02 +0000 Subject: [PATCH 3/3] Fix code style issues with Prettier --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 398ce378c9..7933259d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. The format - Improved UX for the Building Selection Criteria drawer ([#1994](https://github.com/bloom-housing/bloom/pull/1994)) (Jared White) - alternate contact email is validated ([#2035](https://github.com/bloom-housing/bloom/pull/2035)) (Yazeed) - Incorrect last name ([#2107](https://github.com/bloom-housing/bloom/pull/2107)) (Dominik Barcikowski) + ## Backend - Fixed: