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:
@@ -10,6 +10,7 @@ module.exports = {
|
||||
inputs: {
|
||||
emailAddress: {
|
||||
type: 'string',
|
||||
isEmail: true,
|
||||
required: true,
|
||||
},
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
});
|
||||
});//_∏_
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user