Skip to content

Commit

Permalink
Removine per_page query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Sep 29, 2023
1 parent bfae743 commit 81a1f39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions narps_open/utils/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_opened_issues():

# Get all opened issues
request_url = 'https://api.github.com/repos/Inria-Empenn/narps_open_pipelines/issues'
request_url += '?page={page_number}?per_page=30'
request_url += '?page={page_number}'

issues = []
page = True # Will later be replaced by a table
Expand All @@ -39,10 +39,6 @@ def get_opened_issues():
issues += page
page_number += 1

# Leave if there is only one page (in this case, the `page` query parameter has no effect)
if nb_issues < 30:
break

return issues

def get_teams_with_pipeline_files():
Expand Down

0 comments on commit 81a1f39

Please sign in to comment.