TASK22109: expand email contract coverage and logging hygiene

This commit is contained in:
2026-03-17 14:28:22 +00:00
parent 6610e5c7f3
commit d17f3a11d2
4 changed files with 131 additions and 14 deletions
+4 -4
View File
@@ -63,10 +63,10 @@ export default async function ApiProxy(req, res) {
const notifyClient = new NotifyClient(process.env.NOTIFY_API_KEY);
//const emailReplyToId = process.env.EMAIL_REPLY_TO_ID;
console.log(
"///////////////\n Sending email \ns//////////////",
redactSensitive(data)
);
consoleLogger({
event: "notify_send_attempt",
payload: redactSensitive(data)
});
notifyClient
.sendEmail(data.templateId, data.emailAddress, {