diff --git a/lib/octokit/client/projects.rb b/lib/octokit/client/projects.rb index 0a1303d8f..2df3f8a04 100644 --- a/lib/octokit/client/projects.rb +++ b/lib/octokit/client/projects.rb @@ -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