Skip to content

Commit cb3b769

Browse files
committed
feat(api): add andidacy dropout canceled email to AAP
1 parent fe7eaea commit cb3b769

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { sendEmailUsingTemplate } from "@/modules/shared/email";
2+
3+
export const sendCandidacyDropOutCanceledEmailToAap = async ({
4+
aapEmail,
5+
aapLabel,
6+
candidateFullName,
7+
candidacyUrl,
8+
}: {
9+
aapEmail: string;
10+
aapLabel: string;
11+
candidateFullName: string;
12+
candidacyUrl: string;
13+
}) => {
14+
return sendEmailUsingTemplate({
15+
to: { email: aapEmail },
16+
templateId: 631,
17+
params: {
18+
aapLabel,
19+
candidateFullName,
20+
candidacyUrl,
21+
},
22+
});
23+
};

0 commit comments

Comments
 (0)