mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-64783 Can't use private repos in github
This commit is contained in:
@@ -171,7 +171,7 @@ public class GithubUtil {
|
||||
}
|
||||
final Element plan = element.getChild("plan");
|
||||
assert plan != null : "Authentification failed";
|
||||
final String privateRepos = plan.getChildText("private_repos");
|
||||
final String privateRepos = plan.getChildText("private-repos");
|
||||
return privateRepos != null && Integer.valueOf(privateRepos) > 0;
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user