Skip to content

Commit

Permalink
Make sure no reimbursement email is being sent (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisaliuu authored Sep 11, 2024
1 parent 3849b4e commit 3f2f527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/api/apply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3f2f527

Please sign in to comment.