From 985b94b32e3f7433778de0f48c5240c78dd108f2 Mon Sep 17 00:00:00 2001 From: Sergio Valero Date: Fri, 9 Aug 2024 15:10:37 -0400 Subject: [PATCH] feat: add email_students parameter in handleEnrollStudent --- src/features/Classes/EnrollStudent/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/Classes/EnrollStudent/index.jsx b/src/features/Classes/EnrollStudent/index.jsx index 4265136..2c60b43 100644 --- a/src/features/Classes/EnrollStudent/index.jsx +++ b/src/features/Classes/EnrollStudent/index.jsx @@ -44,6 +44,7 @@ const EnrollStudent = ({ isOpen, onClose, queryClassId }) => { formData.append('identifiers', studentEmail); formData.append('action', 'enroll'); formData.append('auto_enroll', 'true'); + formData.append('email_students', 'true'); try { setLoading(true);