mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -55,9 +55,7 @@ export class AuthBearerInterceptor implements HttpInterceptor {
|
||||
if (shallPass) {
|
||||
return next.handle(req)
|
||||
.pipe(
|
||||
catchError((error) => {
|
||||
return observableThrowError(error);
|
||||
})
|
||||
catchError((error) => observableThrowError(error))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -68,9 +66,7 @@ export class AuthBearerInterceptor implements HttpInterceptor {
|
||||
const kcReq = req.clone({ headers: headerWithContentType});
|
||||
return next.handle(kcReq)
|
||||
.pipe(
|
||||
catchError((error) => {
|
||||
return observableThrowError(error);
|
||||
})
|
||||
catchError((error) => observableThrowError(error))
|
||||
);
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user