Skip to content

Commit

Permalink
Workaround for #5, retrieving 1000 issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
KarstenSchulz committed Sep 3, 2022
1 parent a62a2c4 commit 2b6feb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ytissues/ytlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ def all_comments_as_text(self) -> str:
@staticmethod
def load(project_id: str) -> list:
the_request = get_request(
Issue.get_list.format(project_id=project_id), f"fields={Issue.fields}"
Issue.get_list.format(project_id=project_id),
f"fields={Issue.fields}&$top=1000",
)
opened_url = request.urlopen(the_request)
if opened_url.getcode() == 200:
Expand Down

0 comments on commit 2b6feb8

Please sign in to comment.