Enable editing existing admin users, creating new admins, and deleting other admin users

This commit is contained in:
adityachandelgit
2025-05-17 01:23:02 -06:00
committed by Aditya Chandel
parent 099eecbde5
commit 6a8561080f
12 changed files with 88 additions and 41 deletions
@@ -20,7 +20,7 @@ export const AuthInterceptorService: HttpInterceptorFn = (req, next: HttpHandler
return next(authReq).pipe(
catchError((error: HttpErrorResponse) => {
if (error.status === 401 || error.status === 403) {
if (error.status === 401) {
return handle401Error(authService, authReq, next, router, !!internalToken);
}
return throwError(() => error);