diff --git a/back-end/hub-api/src/main/java/io/apicurio/hub/api/github/GitHubSourceConnector.java b/back-end/hub-api/src/main/java/io/apicurio/hub/api/github/GitHubSourceConnector.java index 43651ae81..aff932bce 100644 --- a/back-end/hub-api/src/main/java/io/apicurio/hub/api/github/GitHubSourceConnector.java +++ b/back-end/hub-api/src/main/java/io/apicurio/hub/api/github/GitHubSourceConnector.java @@ -353,7 +353,10 @@ public Collection getRepositories(String org) throws GitHubExc RepositoryService repoService = new RepositoryService(client); List repositories = null; if (org.equals(userLogin)) { - repositories = repoService.getRepositories(org); + Map filters = new HashMap(); + filters.put("affiliation", "owner"); + filters.put("visibility", "all"); + repositories = repoService.getRepositories(filters); } else { repositories = repoService.getOrgRepositories(org); }