Skip to content

Commit

Permalink
Minor changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
pixtron committed Jan 29, 2019
1 parent 50d98d8 commit 96da52e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow.ts
Expand Up @@ -85,7 +85,6 @@ export class AuthFlow {
log("Authorization request complete ", request, response, error);
if (response) {
let codeVerifier: string | undefined;

if(request.internal && request.internal.code_verifier) {
codeVerifier = request.internal.code_verifier;
}
Expand Down Expand Up @@ -139,7 +138,7 @@ export class AuthFlow {
);
}

private makeRefreshTokenRequest(code: string, codeVerifier?: string): Promise<void> {
private makeRefreshTokenRequest(code: string, codeVerifier: string|undefined): Promise<void> {
if (!this.configuration) {
log("Unknown service configuration");
return Promise.resolve();
Expand Down

0 comments on commit 96da52e

Please sign in to comment.