Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Jan 10, 2025
1 parent 25a9f59 commit 7732a47
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ export class PrivacyIdeaAdministrationService {
try {
const response: AxiosResponse<AuthenticaitonResponse> = await firstValueFrom(
this.httpService
.post(url, authPayload, {
.post<AuthenticaitonResponse>(url, authPayload, {
headers: { 'Content-Type': 'application/json' },
})
.pipe(catchError((error: AxiosError) => this.handleConnectionError(error))),
.pipe(catchError((error: AxiosError<AuthenticaitonResponse>) => this.handleConnectionError(error))),
);
this.tokenExpiryTimestampMs = now + PrivacyIdeaAdministrationService.AUTHORIZATION_TIMEBOX_MS;
this.jwtToken = response.data.result.value.token;
Expand Down

0 comments on commit 7732a47

Please sign in to comment.