Skip to content

Commit

Permalink
Don't page lists, they don't support paging
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Dec 8, 2023
1 parent 9098279 commit 0f4f0b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions toot/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,7 @@ def get_instance(base_url: str) -> Response:


def get_lists(app, user):
path = "/api/v1/lists"
return _get_response_list(app, user, path)
return http.get(app, user, "/api/v1/lists").json()


def find_list_id(app, user, title):
Expand Down

0 comments on commit 0f4f0b3

Please sign in to comment.