We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b028c09 commit cf13fecCopy full SHA for cf13fec
src/app/shared/interceptors/errors.interceptor.ts
@@ -23,7 +23,7 @@ export class ErrorsInterceptor implements HttpInterceptor {
23
): Observable<HttpEvent<unknown>> {
24
return next.handle(request).pipe(
25
catchError((response: HttpErrorResponse) => {
26
- if ([401, 403].includes(response.status)) {
+ if ([403].includes(response.status)) {
27
this.store.dispatch(logoutAction());
28
}
29
0 commit comments