mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Website: Update save-questionnaire-progress (#18753)
Follow up PR to https://github.com/fleetdm/fleet/pull/18721.
This commit is contained in:
parent
7c3f029f78
commit
b8793ee776
1 changed files with 4 additions and 4 deletions
|
|
@ -219,11 +219,11 @@ module.exports = {
|
|||
primaryBuyingSituation: primaryBuyingSituation === 'eo-security' ? 'Endpoint operations - Security' : primaryBuyingSituation === 'eo-it' ? 'Endpoint operations - IT' : primaryBuyingSituation === 'mdm' ? 'Device management (MDM)' : primaryBuyingSituation === 'vm' ? 'Vulnerability management' : undefined,
|
||||
organization: this.req.me.organization,
|
||||
psychologicalStage,
|
||||
}).catch((err)=>{
|
||||
sails.log.warn(`When a user (email: ${this.req.me.emailAddress} submitted a step of the get started questionnaire, a Contact and Account record could not be created/updated in the CRM. Full error:`, err);
|
||||
}).tolerate((err)=>{
|
||||
sails.log.warn(`Background task failed: When a user (email: ${this.req.me.emailAddress} submitted a step of the get started questionnaire, a Contact and Account record could not be created/updated in the CRM. Full error:`, err);
|
||||
});
|
||||
});
|
||||
}
|
||||
});//_∏_ (Meanwhile...)
|
||||
}//fi
|
||||
// TODO: send all other answers to Salesforce (when there are fields for them)
|
||||
|
||||
// await sails.helpers.http.post.with({
|
||||
|
|
|
|||
Loading…
Reference in a new issue