Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
DonOmalVindula committed Mar 10, 2023
1 parent e0d612a commit 0473725
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/helpers/authentication-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class AuthenticationHelper<
enableRetrievingSignOutURLFromSession(config);
}

if (config.returnsSession) {
if (config.returnsSession) {
this._spaHelper.refreshAccessTokenAutomatically(this);

return this._authenticationClient.getBasicUserInfo();
Expand Down Expand Up @@ -232,7 +232,7 @@ export class AuthenticationHelper<
if (matches) {
return httpClient
.request(requestConfig)
.then((response: HttpResponse) => {
.then((response: HttpResponse) => {
return Promise.resolve(response);
})
.catch(async (error: HttpError) => {
Expand All @@ -250,7 +250,6 @@ export class AuthenticationHelper<
this._isTokenRefreshing = true;
// Try to refresh the token
let refreshAccessTokenResponse: BasicUserInfo;

try {
refreshAccessTokenResponse = await this.refreshAccessToken(
enableRetrievingSignOutURLFromSession
Expand Down

0 comments on commit 0473725

Please sign in to comment.