Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf13fec

Browse files
committedOct 8, 2022
remove 401 status code
1 parent b028c09 commit cf13fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/shared/interceptors/errors.interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ErrorsInterceptor implements HttpInterceptor {
2323
): Observable<HttpEvent<unknown>> {
2424
return next.handle(request).pipe(
2525
catchError((response: HttpErrorResponse) => {
26-
if ([401, 403].includes(response.status)) {
26+
if ([403].includes(response.status)) {
2727
this.store.dispatch(logoutAction());
2828
}
2929

0 commit comments

Comments
 (0)
Please sign in to comment.