IDEA-64783 Can't use private repos in github

This commit is contained in:
Oleg Shpynov
2011-02-03 17:53:46 +03:00
parent 5ff13b444d
commit eee9bfc3f2
@@ -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) {