Skip to content

Commit 5fe6147

Browse files
committed
fix accidental merge
1 parent e56827b commit 5fe6147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/OAuth2Client/NXOAuth2Connection.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLRespon
415415
}
416416
}
417417
}
418-
if (/*self.statusCode == 401 // TODO: check for status code once the bug returning 500 is fixed
419-
&&*/ client.accessToken.refreshToken != nil
418+
if (self.statusCode == 401
419+
&& client.accessToken.refreshToken != nil
420420
&& authenticateHeader
421421
&& [authenticateHeader rangeOfString:@"expired_token"].location != NSNotFound) {
422422
[self cancel];

0 commit comments

Comments
 (0)