From a4534551e9bcfd7e123f10a4b6fe1a77ee31bfe6 Mon Sep 17 00:00:00 2001 From: Adam Butterworth Date: Thu, 28 Feb 2019 09:26:34 -0500 Subject: [PATCH] yearOfBirth and requiresParentalConsent were missing from redux state. Adding to the clientServer key map --- src/services/ProfileApiService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/ProfileApiService.js b/src/services/ProfileApiService.js index 2f14ee5..2e06a96 100644 --- a/src/services/ProfileApiService.js +++ b/src/services/ProfileApiService.js @@ -9,6 +9,8 @@ const clientToServerKeyMap = { dateJoined: 'date_joined', languageProficiencies: 'language_proficiencies', accountPrivacy: 'account_privacy', + yearOfBirth: 'year_of_birth', + requiresParentalConsent: 'requires_parental_consent', }; const serverToClientKeyMap = Object.entries(clientToServerKeyMap).reduce((acc, [key, value]) => { acc[value] = key;