Skip to content

Commit 03b203e

Browse files
committed
Add start date and end date to billing account endpoint used by copilots
1 parent 82459aa commit 03b203e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/salesforceService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ class SalesforceService {
102102
null, // fallback to null if cannot parse
103103
),
104104
markup: _.get(o, config.get('sfdcBillingAccountMarkupField')),
105-
active: _.get(o, config.get('sfdcBillingAccountActiveField')),
105+
active: _.get(o, config.get('sfdcBillingAccountActiveField')),
106+
startDate: _.get(o, 'Topcoder_Billing_Account__r.Start_Date__c'),
107+
endDate: _.get(o, 'Topcoder_Billing_Account__r.End_Date__c'),
106108
}));
107109
return billingAccounts.length > 0 ? billingAccounts[0] : {};
108110
});

0 commit comments

Comments
 (0)