docs(aio): fix doc typo referring to `httpOptions` (#22456)

The variable name mention should match the actual tutorial code.

PR Close #22456
This commit is contained in:
Jamie Krug 2018-02-26 10:51:09 -05:00 committed by Alex Eagle
parent 13ab91e05d
commit c593d69ce7
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ The `HttpClient.put()` method takes three parameters
The URL is unchanged. The heroes web API knows which hero to update by looking at the hero's `id`. The URL is unchanged. The heroes web API knows which hero to update by looking at the hero's `id`.
The heroes web API expects a special header in HTTP save requests. The heroes web API expects a special header in HTTP save requests.
That header is in the `httpOption` constant defined in the `HeroService`. That header is in the `httpOptions` constant defined in the `HeroService`.
<code-example <code-example
path="toh-pt6/src/app/hero.service.ts" path="toh-pt6/src/app/hero.service.ts"