docs: fix typo and add parenthesis to method in HTTP tutorial (#28289)
Merge remote-tracking branch 'origin/TOH' into TOH PR Close #28289
This commit is contained in:
parent
465abab213
commit
056d35c97c
|
@ -112,7 +112,7 @@ Inject `HttpClient` into the constructor in a private property called `http`.
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
Keep injecting the `MessageService`. You'll call it so frequently that
|
Keep injecting the `MessageService`. You'll call it so frequently that
|
||||||
you'll wrap it in private `log` method.
|
you'll wrap it in a private `log()` method.
|
||||||
|
|
||||||
<code-example
|
<code-example
|
||||||
path="toh-pt6/src/app/hero.service.ts"
|
path="toh-pt6/src/app/hero.service.ts"
|
||||||
|
|
Loading…
Reference in New Issue