Skip to content

GHUser.getRepositories() does not pull private repositories #88

@anandcv

Description

@anandcv

When I tries to pull repositories of a user, I get all public repositories.
But the list does not show private repository at all.

github = GitHub.connectUsingOAuth(oAuthToken);
user = github.getMyself();
Map<String,String> repos = new HashMap<String,String>();
this.repos = user.getRepositories();
System.out.println(Repos.toString());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions