You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been able to list the repositories for a public organization:
GHOrganization org = gitHub.getOrganization("jenkinsci");
for (GHRepository r : org.getRepositories().values()) {
System.out.println("Repo: " + r.getName());
}
And I've been able to list the users for a private organization (I believe this should prove I'm successfully authenticating against that organization):
GHOrganization org = gitHub.getOrganization("merchantwarehouse");
List<GHUser> users = org.getMembers();
for (GHUser user : users) {
System.out.println("User: " + user.toString());
}
But when I try to list the repositories (all private) for the private organization, I get nothing. Have I missed a step?
My apologies if this is something that should have been obvious to me.
Thanks.
The text was updated successfully, but these errors were encountered:
I've been able to list the repositories for a public organization:
And I've been able to list the users for a private organization (I believe this should prove I'm successfully authenticating against that organization):
But when I try to list the repositories (all private) for the private organization, I get nothing. Have I missed a step?
My apologies if this is something that should have been obvious to me.
Thanks.
The text was updated successfully, but these errors were encountered: