Skip to content

Commit 8eb6fb9

Browse files
authored
Merge pull request #96 from AI-Tournaments/patch
Exit call.
2 parents c05bd3a + 51428f7 commit 8eb6fb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GitHubApi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class GitHubApi{
6767
if(accessToken){
6868
throw new Error('Unauthorized GitHub OAuth-Token. Logged out.');
6969
}
70+
return;
7071
}else if([403, 429/*Unconfirmed*/].includes(response.status)){
7172
let timestamp = 1000*(parseInt(response.headers.get('x-ratelimit-reset'))+1);
7273
if(this.isLoggedIn()){

0 commit comments

Comments
 (0)