Skip to content

Commit

Permalink
chore: add auto_enroll field when handleEnrollment is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
anfbermudezme committed Jul 23, 2024
1 parent 872170c commit a5fea4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/Classes/EnrollStudent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const EnrollStudent = ({ isOpen, onClose, queryClassId }) => {
formData.delete('studentEmail');
formData.append('identifiers', studentEmail);
formData.append('action', 'enroll');
formData.append('auto_enroll', 'true');

try {
setLoading(true);
Expand Down

0 comments on commit a5fea4e

Please sign in to comment.