Skip to content

Commit

Permalink
Change way email is being passed to gcNotify (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-walsh22 authored Apr 23, 2024
1 parent dca42a6 commit c467b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda/writePass/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ async function sendTemplateMessageAndDeleteAuditItem(facilityType, personalisati
gcNotifyTemplate = process.env.GC_NOTIFY_TRAIL_RECEIPT_TEMPLATE_ID;
}
const gcnData = {
email_address: passObject.email,
email_address: passObject.Item['email'].S,
template_id: gcNotifyTemplate,
personalisation: personalisation
};
Expand Down

0 comments on commit c467b4a

Please sign in to comment.