Skip to content

Commit

Permalink
Merge pull request #18 from hyeonjeongJu/master
Browse files Browse the repository at this point in the history
Fix def, public_curriculum
  • Loading branch information
hudsonbrendon authored Jun 29, 2023
2 parents cf1c70f + a04960a commit a466fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyudemy/udemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def public_curriculum(self, id: int, **kwargs) -> dict:
dict: List of curriculum items.
"""
return requests.get(
self._get_full_url(f"courses/{id}/public-curriculum-items"),
self._get_full_url(f"courses/{id}/public-curriculum-items/?", **kwargs),
auth=self._authentication,
).json()

Expand Down

0 comments on commit a466fe9

Please sign in to comment.