Commit 72dad808 by Jonathan Piacenti

Fix call to get_threads in x_module.py.

parent c6d0ca04
......@@ -1616,7 +1616,7 @@ class DiscussionService(object):
course = get_course_with_access(self.runtime.user, 'load', course_id, check_if_enrolled=True)
user_cohort_id = get_cohort_id(user, course_id)
unsafethreads, query_params = get_threads(request, course_id)
unsafethreads, query_params = get_threads(request, course)
threads = [utils.prepare_content(thread, course_id) for thread in unsafethreads]
utils.add_courseware_context(threads, course, user)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment