diff --git a/1.fetchContact.js b/1.fetchContact.js index 43907be..9d3b1a9 100644 --- a/1.fetchContact.js +++ b/1.fetchContact.js @@ -46,12 +46,18 @@ fn(state => { caseId: record.CommCare_Case_ID__c, startDate: record.SMS_Treatment_Start_Date__c, Name: firstName, + FirstName: firstName, Country: record.Clinic_Country__c, Phone: record.Guardian_1_Phone_Number_1__c, pronoun_his_her: record.Pronoun_his_her__c, pronoun_he_she: record.Pronoun_he_she__c, pronoun_him_her: record.Pronoun_him_her__c, - guardian1_first_name: record.Guardian_1_First_Name__c }; + guardian1_first_name: record.Guardian_1_First_Name__c, + Guardian_1_First_Name__c: record.Guardian_1_First_Name__c, + Pronoun_he_she__c: record.Pronoun_he_she__c, + Pronoun_him_her__c: record.Pronoun_him_her__c, + Pronoun_his_her__c: record.Pronoun_his_her__c, + }; }); return { ...state, contacts }; });