Skip to content

Commit

Permalink
Merge pull request #1090 from mattr-/paginate-org-projects
Browse files Browse the repository at this point in the history
Support auto pagination in org_projects
  • Loading branch information
tarebyte authored Jan 16, 2019
2 parents 607bbf8 + 5c37a10 commit d0589a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/client/projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_project(repo, name, options = {})
# @client.org_projects("octokit")
def org_projects(org, options = {})
opts = ensure_api_media_type(:projects, options)
get "orgs/#{org}/projects", opts
paginate "orgs/#{org}/projects", opts
end
alias :organization_projects :org_projects

Expand Down

0 comments on commit d0589a8

Please sign in to comment.