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: