Skip to content

Commit

Permalink
Revert "added custom parameters support for userlist"
Browse files Browse the repository at this point in the history
This reverts commit b6d9cee.
-- no custom dict can be passed to this endpoint --
  • Loading branch information
Proxymiity committed May 26, 2021
1 parent 5d79fa8 commit c76cbd4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MangaDexPy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,11 @@ def get_user(self, uuid: str = "me") -> User:
else:
raise APIError(req)

def get_user_list(self, limit: int = 100, params: dict = None) -> List[Manga]:
def get_user_list(self, limit: int = 100) -> List[Manga]:
"""Gets the currently logged user's manga list."""
if not self.login_success:
raise NotLoggedInError
return self._retrieve_pages(f"{self.api}/user/follows/manga", Manga, call_limit=100,
limit=limit, params=params)
return self._retrieve_pages(f"{self.api}/user/follows/manga", Manga, limit=limit, call_limit=100)

def get_user_updates(self, limit: int = 100, params: dict = None) -> List[Chapter]:
"""Gets the currently logged user's manga feed."""
Expand Down

0 comments on commit c76cbd4

Please sign in to comment.