Use trial request name for Close.io leads

This commit is contained in:
Matt Lott 2016-03-15 09:25:36 -07:00
parent d37627ad59
commit 4e0ee60dce

View file

@ -88,6 +88,7 @@ class Lead {
} }
this.trial_created = trialRequest.created; this.trial_created = trialRequest.created;
this.trial_userID = trialRequest.applicant; this.trial_userID = trialRequest.applicant;
if (this.trial_name) this.name = this.trial_name;
this.userID = trialRequest.applicant; this.userID = trialRequest.applicant;
} }
addUser(user) { addUser(user) {