diff --git a/openedx/core/djangoapps/django_comment_common/comment_client/user.py b/openedx/core/djangoapps/django_comment_common/comment_client/user.py index 2de4fbbfa95a..ae696e7f0c01 100644 --- a/openedx/core/djangoapps/django_comment_common/comment_client/user.py +++ b/openedx/core/djangoapps/django_comment_common/comment_client/user.py @@ -76,6 +76,7 @@ def unfollow(self, source): source_id=source.id, course_id=str(course_key) ) + else: params = {'source_type': source.type, 'source_id': source.id} utils.perform_request(