mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
Website: update create-or-update-one-newsletter-subscription action (#35627)
Closes: https://github.com/fleetdm/confidential/issues/13025 Changes: - Updated the emailAddress input of the create-or-update-one-newsletter-subscription action to use `isEmail` validation
This commit is contained in:
parent
7529f12c2e
commit
2a6df0b659
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ module.exports = {
|
|||
inputs: {
|
||||
emailAddress: {
|
||||
type: 'string',
|
||||
isEmail: true,
|
||||
required: true,
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ Fleet Premium subscription details:
|
|||
sails.log.warn(`Background task failed: When a user submitted a contact form message, a contact/account/historical event could not be created/updated in the CRM for this email address: ${emailAddress}.`, err);
|
||||
}
|
||||
return;
|
||||
});
|
||||
});//_∏_
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue