CLASSROOMIO-T-152: Send notification to teachers and student after student joins

This commit is contained in:
Rotimi Best
2023-09-14 18:46:24 +01:00
parent 14f58792f6
commit be619ae6bd
14 changed files with 351 additions and 12 deletions
@@ -11,7 +11,7 @@ export async function sendTeacherCourseWelcome(params: {
const accessToken = data.session?.access_token || '';
try {
const response = await fetch('/api/email/course/welcome', {
const response = await fetch('/api/email/course/teacher_welcome', {
method: 'POST',
headers: {
'Content-Type': 'application/json',