Skip to content

Commit

Permalink
fix: get_user_threads api args
Browse files Browse the repository at this point in the history
The get_user_threads api was not accepting additional arguments and there the discussion xblock wasn't working with the forum service. This PR adds args and kwargs params to the api to avoid breakage.
close #149
  • Loading branch information
Taimoor Ahmed authored and Taimoor Ahmed committed Feb 12, 2025
1 parent 163e6dc commit 991471f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forum/api/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ def get_user_threads(
user_id: Optional[str] = None,
group_id: Optional[int] = None,
group_ids: Optional[int] = None,
*args: Any,
**kwargs: Any,
) -> dict[str, Any]:
"""
Get the threads for the given thread_ids.
Expand Down

0 comments on commit 991471f

Please sign in to comment.