diff --git a/webapp/lib/github.rb b/webapp/lib/github.rb index 8fe76fb..9886cb1 100644 --- a/webapp/lib/github.rb +++ b/webapp/lib/github.rb @@ -756,7 +756,7 @@ def secret_teams secret_teams = [] while next_page - teams = @client.query(SECRET_TEAMS_QUERY, { login: @organisation, first: 100, after: + teams = @client.query(SECRET_TEAMS_QUERY, { login: @organisation, first: 100, after: }) raise GitHubError, teams.errors unless teams.errors.empty? after = teams.data.organization.teams.page_info.end_cursor