Skip to content

Commit 9d756f7

Browse files
committed
fix: commentable_ids should be list of ids rather then a comma separated string
note: this can be dropped when upgrading to teak
1 parent 4eb92fd commit 9d756f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • openedx/core/djangoapps/django_comment_common/comment_client

openedx/core/djangoapps/django_comment_common/comment_client/thread.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def search(cls, query_params):
8282
else:
8383
if user_id := params.get('user_id'):
8484
params['user_id'] = str(user_id)
85+
if params['commentable_ids']:
86+
params['commentable_ids'] = params['commentable_ids'].split(',')
8587
response = forum_api.get_user_threads(**params)
8688
else:
8789
response = utils.perform_request(

0 commit comments

Comments
 (0)