feat: teacher email should include student details

This commit is contained in:
Rotimi Best
2024-07-23 11:02:06 +01:00
parent 72b58ed2c7
commit 32e7073cc5
2 changed files with 7 additions and 6 deletions
@@ -95,7 +95,9 @@
// Send notification to teacher(s) that a student has joined the course.
triggerSendEmail(NOTIFICATION_NAME.TEACHER_STUDENT_JOINED, {
to: teachers[0],
courseName: data.name
courseName: data.name,
studentName: $profile.fullname,
studentEmail: $profile.email
});
// go to lms