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:
Eric 2025-11-12 11:07:10 -06:00 committed by GitHub
parent 7529f12c2e
commit 2a6df0b659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ module.exports = {
inputs: {
emailAddress: {
type: 'string',
isEmail: true,
required: true,
},

View file

@ -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;
});
});//_∏_
}