mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Change linkedinUrl requirement to optional (#39033)
@eashaw trying to fire this when I don't have a LinkedIn. Any objections? --------- Co-authored-by: Eric <eashaw@sailsjs.com>
This commit is contained in:
parent
26ed789326
commit
54ba38716c
1 changed files with 5 additions and 2 deletions
|
|
@ -24,7 +24,9 @@ module.exports = {
|
|||
},
|
||||
linkedinUrl: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
},
|
||||
emailAddress: {
|
||||
type: 'string',
|
||||
},
|
||||
contactSource: {
|
||||
type: 'string',
|
||||
|
|
@ -90,7 +92,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
|
||||
fn: async function ({webhookSecret, firstName, lastName, linkedinUrl, contactSource, jobTitle, intentSignal, historicalContent, historicalContentUrl, relatedCampaign}) {
|
||||
fn: async function ({webhookSecret, firstName, lastName, linkedinUrl, contactSource, jobTitle, intentSignal, historicalContent, historicalContentUrl, relatedCampaign, emailAddress}) {
|
||||
|
||||
|
||||
if (!sails.config.custom.clayWebhookSecret) {
|
||||
|
|
@ -106,6 +108,7 @@ module.exports = {
|
|||
firstName,
|
||||
lastName,
|
||||
linkedinUrl,
|
||||
emailAddress,
|
||||
contactSource,
|
||||
jobTitle,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue