Skip to content

Commit 9fe45f6

Browse files
format
1 parent 2e69225 commit 9fe45f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/util/pointRecommendCourses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function pointRecommendedCourses(courses: CourseRecommendation[], userCoordinate
159159

160160
let bonusPoints = 0
161161

162-
const isChallengeCourseOrEri = c.coordinates.challenge === 1 || c.course.courseCodes.find((c) => c.includes("ERI"))
162+
const isChallengeCourseOrEri = c.coordinates.challenge === 1 || c.course.courseCodes.find((c) => c.includes('ERI'))
163163

164164
const mandatory = c.coordinates.mentoring === 0 ? true : false//it is believed that if course is not a mentoring course it is a mandatory course.
165165
const calculateBonusForMandatory = userCoordinates?.mentoring === undefined | null

0 commit comments

Comments
 (0)