Fix type field in thread list endpoint
The API's type field should come from the CS data's thread_type field, not its type field, which distinguishes comments from threads.
Showing
- lms/djangoapps/discussion_api/api.py 1 addition, 1 deletionlms/djangoapps/discussion_api/api.py
- lms/djangoapps/discussion_api/tests/test_api.py 4 additions, 4 deletionslms/djangoapps/discussion_api/tests/test_api.py
- lms/djangoapps/discussion_api/tests/test_views.py 1 addition, 1 deletionlms/djangoapps/discussion_api/tests/test_views.py
Loading
Please register or sign in to comment