Skip to content

Commit

Permalink
Fixed confirmation email not sending
Browse files Browse the repository at this point in the history
  • Loading branch information
qhanson55 committed Dec 3, 2024
1 parent 276a156 commit 56d48df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,11 @@ async function onSubmit(data: any) {
async function emailConfirmation(activityId: string, submissionId: string) {
const configCC = getConfig.value.ches?.submission?.cc;
const body = confirmationTemplateSubmission({
'{{ contactName }}': formRef.value?.values.contacts[0].firstName,
'{{ contactName }}': formRef.value?.values.contactFirstName,
'{{ activityId }}': activityId,
'{{ submissionId }}': submissionId
});
let applicantEmail = formRef.value?.values.contacts[0].email;
let applicantEmail = formRef.value?.values.contactEmail;
let emailData = {
from: configCC,
to: [applicantEmail],
Expand Down

0 comments on commit 56d48df

Please sign in to comment.