Skip to content

Commit

Permalink
update course course sync - add group subst teachers
Browse files Browse the repository at this point in the history
  • Loading branch information
sdinkov committed Nov 25, 2024
1 parent 700c142 commit c72e65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/courses.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const editCourseHandler = (req, res, next) => {
}

course.userIds = getUserIdsByRole(group.users, 'student');

course.substitutionIds = getUserIdsByRole(group.users, 'groupSubstitutionTeacher');
if (group.validPeriod) {
course.startDate = timesHelper.fromUTC(group.validPeriod.from);
course.untilDate = timesHelper.fromUTC(group.validPeriod.until);
Expand Down

0 comments on commit c72e65a

Please sign in to comment.