yearOfBirth and requiresParentalConsent were missing from redux state. Adding to the clientServer key map
This commit is contained in:
committed by
Adam Butterworth
parent
41339d8d6e
commit
a4534551e9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user