Skip to content

Commit

Permalink
Correct variable type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Oct 29, 2021
1 parent e56dd9e commit 6af39c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Shared/Services/Login.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class LoginService {
getHeaders(): Observable<Headers> {
const authorization = combineLatest([this.getToken(), this.getAuthMethod()])
.pipe(
map((parts: [string, string]) => this.getAuthHeaders(parts[0], parts[1])),
map((parts: [string, AuthMethod]) => this.getAuthHeaders(parts[0], parts[1])),
first(),
);
return combineLatest([authorization, this.target.target()])
Expand All @@ -155,7 +155,7 @@ export class LoginService {
return this.token.asObservable();
}

getAuthMethod(): Observable<string> {
getAuthMethod(): Observable<AuthMethod> {
return this.authMethod.asObservable();
}

Expand Down

0 comments on commit 6af39c4

Please sign in to comment.