From 6277a4ca5e1bab14eda095915d5594261b87773d Mon Sep 17 00:00:00 2001 From: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com> Date: Sat, 7 Jun 2025 17:35:35 +0100 Subject: [PATCH] use non-deprecated `throwError` call signature --- client/src/app/auth.interceptor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/auth.interceptor.ts b/client/src/app/auth.interceptor.ts index 3dc3ab8..3718068 100644 --- a/client/src/app/auth.interceptor.ts +++ b/client/src/app/auth.interceptor.ts @@ -16,7 +16,7 @@ export class AuthInterceptor implements HttpInterceptor { } else if (error && (error.status === 401 || error.status === 403)) { this.router.navigate(['/login']); } - return throwError(error); + return throwError(() => error); }), ); }