Turned the e-mails to be dependent on the environment

This commit is contained in:
Tiago Ribeiro
2024-03-07 10:21:13 +00:00
parent 87a1d7c288
commit 0cff310354
12 changed files with 399 additions and 486 deletions

View File

@@ -163,6 +163,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
modules: examModulesLabel,
assigner: teacher.name,
},
environment: process.env.ENVIRONMENT,
},
[assignee.email],
"EnCoach - New Assignment!",