Skip to content

Commit

Permalink
chore: pass the course string to pearson-core using run_extension_point.
Browse files Browse the repository at this point in the history
  • Loading branch information
anfbermudezme committed Jan 26, 2022
1 parent 54599d5 commit 878a61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/views/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ def settings_handler(request, course_key_string):
run_extension_point(
'PEARSON_CORE_MILESTONE_PREREQUISITES_MODULE',
course_key=course_key,
prerequisite_course_keys=prerequisite_course_keys,
prerequisite_course_key=CourseKey.from_string(prerequisite_course_keys[0])
)
else:
# None is chosen, so remove the course prerequisites
Expand Down

0 comments on commit 878a61a

Please sign in to comment.