Ajout des 2 interceptors autour de
l'authentification
This commit is contained in:
@@ -19,6 +19,6 @@ export class ErrorInterceptor implements HttpInterceptor {
|
|||||||
|
|
||||||
const error = err.error.message || err.statusText;
|
const error = err.error.message || err.statusText;
|
||||||
return throwError(error);
|
return throwError(error);
|
||||||
}))
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user