Commit e64cc792 authored by Liang Ding's avatar Liang Ding

🎨 修复 NPE

parent b7bb99da
......@@ -132,6 +132,10 @@ public class PageMgmtService {
return;
}
if (null == admin) {
return;
}
final String githubId = admin.optString(UserExt.USER_GITHUB_ID);
final JSONArray gitHubRepos = GitHubs.getGitHubRepos(githubId);
if (null == gitHubRepos || gitHubRepos.isEmpty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment