Skip to content

Commit

Permalink
docs: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 13, 2024
1 parent 6c10b19 commit 6c5114d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ const getIncludeCurs = async () => {
return includeCurs.map(({ id }) => id)
}

// Find the newest course unit that has started before the course realisation
// Find the correct course unit for the course realisation.
// For courses that have different name in different languages, the course unit with the highest similarity ranking is chosen.
const getCourseUnit = ({ activityPeriod, courseUnits, name }) => {
const { startDate: realisationStartDate } = activityPeriod

Expand Down

0 comments on commit 6c5114d

Please sign in to comment.