From 6cdf6b4aa23e0cf5a9bc045e17125fa562a3da33 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 23 Nov 2016 11:03:02 +0100 Subject: [PATCH] Fix passing options to all_organizations Passing "since" did not work when calling "all_organizations" as it was not passed to "paginate". --- lib/octokit/client/organizations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/octokit/client/organizations.rb b/lib/octokit/client/organizations.rb index 9669ee3f4..c0c0001bf 100644 --- a/lib/octokit/client/organizations.rb +++ b/lib/octokit/client/organizations.rb @@ -96,7 +96,7 @@ def organizations(user=nil, options = {}) # # @return [Array] List of GitHub organizations. def all_organizations(options = {}) - paginate "organizations" + paginate "organizations", options end alias :all_orgs :all_organizations