Updated the assignment creation e-mail to send the URL for the assignment directly
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</p>
|
||||
<br />
|
||||
<p>Don't forget to do it before its end date!</p>
|
||||
<p>Click <b><a href="https://{{environment}}.encoach.com">here</a></b> to open the EnCoach Platform!</p>
|
||||
<p>Click <b><a href="https://{{environment}}.encoach.com/exam?assignment={{assignment.id}}">here</a></b> to open the assignment on EnCoach!</p>
|
||||
<br />
|
||||
<p>Thanks,</p>
|
||||
<p>Your EnCoach team</p>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"assignees": [],
|
||||
"modules": "Reading and Writing",
|
||||
"startDate": "24/12/2023",
|
||||
"endDate": "27/01/2024"
|
||||
"endDate": "27/01/2024",
|
||||
"id": "123"
|
||||
}
|
||||
}
|
||||
@@ -164,6 +164,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
|
||||
endDate,
|
||||
modules: examModulesLabel,
|
||||
assigner: teacher.name,
|
||||
id
|
||||
},
|
||||
environment: process.env.ENVIRONMENT,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user