From 7e723170593cc2fb71d4153962194b34f30f911b Mon Sep 17 00:00:00 2001 From: Daniel Bunte Date: Mon, 17 Jul 2017 12:33:45 +0200 Subject: [PATCH] docs(http): fixed syntax error in AuthInterceptor example --- aio/content/guide/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index 08e659155c..69278330e1 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -357,7 +357,7 @@ export class AuthInterceptor implements HttpInterceptor { intercept(req: HttpRequest, next: HttpHandler): Observable> { // Get the auth header from the service. - const authHeader: this.auth.getAuthorizationHeader(); + const authHeader = this.auth.getAuthorizationHeader(); // Clone the request to add the new header. const authReq = req.clone({headers: req.headers.set('Authorization', authHeader)}); // Pass on the cloned request instead of the original request.