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 a9a0e27e94
commit 2a38d93171

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 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
path="toh-pt6/src/app/hero.service.ts"