Skip to content

Commit

Permalink
Fixed a random typo in the code
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Muehlberger <[email protected]>
  • Loading branch information
t-muehlberger committed Dec 19, 2024
1 parent d7f712a commit 575fc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/app/common/interceptors/retry.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class RetryInterceptor implements HttpInterceptor {
console.error(
`${errorName} encountered. Retrying after ${retryInterval / 1000.0}s (url: ${url}).`
);
return this.reatryAfter(retryInterval);
return this.retryAfter(retryInterval);
}

private getRetryAfter(
Expand All @@ -142,7 +142,7 @@ export class RetryInterceptor implements HttpInterceptor {
return Math.max(retryAfter, minRetryAfter);
}

private reatryAfter(timeout: number): Observable<void> {
private retryAfter(timeout: number): Observable<void> {
return of(undefined).pipe(delay(timeout));
}

Expand Down

0 comments on commit 575fc3c

Please sign in to comment.