Skip to content

Commit

Permalink
[Updater] Fix is_study_module column in course table
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 4, 2024
1 parent 4da174c commit 7432f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/sis-updater-worker/src/updater/mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const courseMapper = courseIdToAttainments => (groupedCourse, substitutions) =>
coursetypecode,
min_attainment_date,
max_attainment_date,
is_study_module: false, // VALIDATE THIS PLS
is_study_module: course_unit_type == null, // Only course units have a course_unit_type so if it's null, it must be a study module
substitutions,
course_unit_type,
}
Expand Down

0 comments on commit 7432f59

Please sign in to comment.