fix eslint warnigs for core project (#7506)

This commit is contained in:
Denys Vuika
2022-02-17 14:35:33 +00:00
committed by GitHub
parent 5b7f255eec
commit bca5a783ab
246 changed files with 5127 additions and 5065 deletions

View File

@@ -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))
);
})
);