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 9ff6fb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forum/api/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ def get_user_threads(
user_id: Optional[str] = None,
group_id: Optional[int] = None,
group_ids: Optional[int] = None,
**kwargs: Any,
) -> dict[str, Any]:
"""
Get the threads for the given thread_ids.
Expand Down

0 comments on commit 9ff6fb0

Please sign in to comment.