Skip to content

Commit 92b47cb

Browse files
authored
Merge pull request #91 from AI-Tournaments/ChrisAcrobat-patch-1
Update GitHubApi.js
2 parents 3ab4407 + 4fb0b4a commit 92b47cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GitHubApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class GitHubApi{
187187
if(0 < location.href.indexOf('?oAuthCode=')){
188188
oAuthCode = location.href.substr(location.href.indexOf('=')+1)
189189
}
190-
if(!GitHubApi.getSession().accessToken){
190+
if(!GitHubApi.getSession()?.accessToken){
191191
GitHubApi.logout();
192192
}
193193
if(oAuthCode !== null){

0 commit comments

Comments
 (0)