Commit fee79469 by wajeeha-khalid

Merge pull request #10758 from edx/jia/MA-1742

MA-1742; return read status for GET thread details
parents 1de57ed5 bbe35dca
......@@ -696,7 +696,11 @@ def get_thread(request, thread_id):
thread_id: The id for the thread to retrieve
"""
cc_thread, context = _get_thread_and_context(request, thread_id)
cc_thread, context = _get_thread_and_context(
request,
thread_id,
retrieve_kwargs={"user_id": unicode(request.user.id)}
)
serializer = ThreadSerializer(cc_thread, context=context)
return serializer.data
......
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