Ajout des 2 interceptors autour de

l'authentification
This commit is contained in:
Sébastien André
2020-03-12 17:12:17 +01:00
parent ea25a28a78
commit 3d8da3bd18
2 changed files with 3 additions and 3 deletions

View File

@@ -21,4 +21,4 @@ export class BasicAuthInterceptor implements HttpInterceptor {
return next.handle(request); return next.handle(request);
} }
} }

View File

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