fix: add project name and sender email parameters to phishing content check
This commit is contained in:
@@ -150,6 +150,8 @@ export async function createEmailWorker() {
|
|||||||
// Check for phishing/dangerous content before sending
|
// Check for phishing/dangerous content before sending
|
||||||
const phishingCheck = await SecurityService.checkPhishingContent(
|
const phishingCheck = await SecurityService.checkPhishingContent(
|
||||||
email.projectId,
|
email.projectId,
|
||||||
|
email.project.name,
|
||||||
|
email.from,
|
||||||
formattedEmail.subject,
|
formattedEmail.subject,
|
||||||
compiledHtml,
|
compiledHtml,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user