fleet/website/api
Eric 63f8850877
Website: replace zapier request in signup.js with createLead() (#18688)
Closes: https://github.com/fleetdm/confidential/issues/6355

Changes:
- Replaced the reqeust to zapier in `signup.js` with
`sails.helpers.salesforce.createLead()`.
- Updated signup.js to only call the salesforce helpers when the website
is running in a production environment.
- Updated the `createLead` to handle errors when retrieving or creating
salesforce records, and to set a provided `numberOfHosts` and
`primaryBuyingSituation` on created lead records.
2024-05-01 16:25:12 -05:00
..
controllers Website: replace zapier request in signup.js with createLead() (#18688) 2024-05-01 16:25:12 -05:00
helpers Website: replace zapier request in signup.js with createLead() (#18688) 2024-05-01 16:25:12 -05:00
hooks/custom Website: Update homepage personalization, add note to custom hook. (#18433) 2024-04-19 17:40:45 -05:00
models Website: add psychologicalStage to User model (#18408) 2024-04-18 21:18:36 -05:00
policies Website: Add admin tool for generating Fleet Premium licenses. (#8478) 2022-12-05 14:53:16 -06:00
responses Website: Fleet Sandbox (#6380) 2022-08-12 17:31:01 -05:00