diff --git a/src/email/templates/assignment.handlebars b/src/email/templates/assignment.handlebars index 4774de28..4d098c23 100644 --- a/src/email/templates/assignment.handlebars +++ b/src/email/templates/assignment.handlebars @@ -19,10 +19,10 @@


Don't forget to do it before its end date!

-

Click here to open the EnCoach Platform!

+

Click here to open the assignment on EnCoach!


Thanks,

Your EnCoach team

- \ No newline at end of file + diff --git a/src/email/templates/assignment.handlebars.json b/src/email/templates/assignment.handlebars.json index 08486418..14377bc8 100644 --- a/src/email/templates/assignment.handlebars.json +++ b/src/email/templates/assignment.handlebars.json @@ -8,6 +8,7 @@ "assignees": [], "modules": "Reading and Writing", "startDate": "24/12/2023", - "endDate": "27/01/2024" + "endDate": "27/01/2024", + "id": "123" } -} \ No newline at end of file +} diff --git a/src/pages/api/assignments/index.ts b/src/pages/api/assignments/index.ts index a799cfb3..cebcc219 100644 --- a/src/pages/api/assignments/index.ts +++ b/src/pages/api/assignments/index.ts @@ -164,6 +164,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) { endDate, modules: examModulesLabel, assigner: teacher.name, + id }, environment: process.env.ENVIRONMENT, },