TASK22109: expand email contract coverage and logging hygiene
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user