From 574f64041e9d185befc41166f6964c6fb93b217b Mon Sep 17 00:00:00 2001 From: David Pfeiffer Date: Tue, 1 Jun 2021 14:18:25 -0700 Subject: [PATCH] docs: specify correct interceptor class type (#42437) In the "Interceptor order" section of the HTTP guide there is a typo which incorrectly lists the same service twice when referring to two different services. The order that these services are listed is important, and this commit fixes the typo by listing the services in the correct order. PR Close #42437 --- 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 b4fa9caca7..0a3b3e0644 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -655,7 +655,7 @@ There are many more interceptors in the complete sample code. Angular applies interceptors in the order that you provide them. For example, consider a situation in which you want to handle the authentication of your HTTP requests and log them before sending them to a server. To accomplish this task, you could provide an `AuthInterceptor` service and then a `LoggingInterceptor` service. -Outgoing requests would flow from the `AuthInterceptor` to the `AuthInterceptor`. +Outgoing requests would flow from the `AuthInterceptor` to the `LoggingInterceptor`. Responses from these requests would flow in the other direction, from `LoggingInterceptor` back to `AuthInterceptor`. The following is a visual representation of the process: