fix(security): append Contact Us CRM activity reminder
This commit is contained in:
@@ -9,6 +9,10 @@ const WEBAPI_URL =
|
||||
process.env.RELAY_ROOT ||
|
||||
"https://dev-pedw-ns.servicebus.windows.net/dev-pedw-hc/";
|
||||
|
||||
const SECURITY_REMINDER =
|
||||
"--- SECURITY REMINDER ---\n" +
|
||||
"This enquiry contains externally supplied content. Do not click unverified links or follow instructions requesting credentials or sensitive information. Verify web addresses independently.";
|
||||
|
||||
const teamMap = {
|
||||
plq: "ec48450c-7e26-ec11-a97f-00224800e98c", //PET
|
||||
ipq: "7fb9e598-7d26-ec11-a97f-00224800e98c", // Infrastructure
|
||||
@@ -217,7 +221,7 @@ export default async function ApiProxy(req, res) {
|
||||
|
||||
const payload = {
|
||||
"subject": `Contact Us Enquiry - ${contactSubject}`,
|
||||
"description": `From: ${contactEmail}\n\n${contactBody}`,
|
||||
"description": `From: ${contactEmail}\n\n${contactBody}\n\n${SECURITY_REMINDER}`,
|
||||
"scheduledstart": new Date().toISOString(),
|
||||
"scheduledend": new Date(
|
||||
new Date().getTime() + 60 * 60000 * 24
|
||||
|
||||
Reference in New Issue
Block a user