From e660a74421bcac499faa538079c624f659e48220 Mon Sep 17 00:00:00 2001 From: lisaliuu <82255401+lisaliuu@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:50:52 -0500 Subject: [PATCH] Make sure no reimbursement email is being sent --- pages/api/apply.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/apply.ts b/pages/api/apply.ts index ad47b2e1..89ca2e56 100644 --- a/pages/api/apply.ts +++ b/pages/api/apply.ts @@ -37,8 +37,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< { application: application._id, applicationStatus: ApplicationStatus.SUBMITTED } ); - await sendEmail(await submitted(user)); - if (body.applyTravelReimbursement === 'yes') await sendEmail(await travelForm(user)); + // await sendEmail(await submitted(user)); + // if (body.applyTravelReimbursement === 'yes') await sendEmail(await travelForm(user)); return res.send(200); default: