Skip to content

Commit

Permalink
Fix passing options to all_organizations
Browse files Browse the repository at this point in the history
Passing "since" did not work when calling "all_organizations" as it was
not passed to "paginate".
  • Loading branch information
sschuberth committed Nov 23, 2016
1 parent 9fc2091 commit 6cdf6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/client/organizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def organizations(user=nil, options = {})
#
# @return [Array<Sawyer::Resource>] List of GitHub organizations.
def all_organizations(options = {})
paginate "organizations"
paginate "organizations", options
end
alias :all_orgs :all_organizations

Expand Down

0 comments on commit 6cdf6b4

Please sign in to comment.