Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 918ae99

Browse files
costalfyFoxandxss
authored andcommitted
docs(toh-pt6) : update htttp.get() to http.get() (#3498)
1 parent 86dce52 commit 918ae99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/tutorial/toh-pt6.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ h1 Providing HTTP Services
382382
in the `HeroService`, although the URL now has a query string.
383383

384384
More importantly, you no longer call `toPromise()`.
385-
Instead you return the *Observable* from the the `htttp.get()`,
385+
Instead you return the *Observable* from the the `http.get()`,
386386
after chaining it to another RxJS operator, <code>map()</code>,
387387
to extract heroes from the response data.
388388
RxJS operator chaining makes response processing easy and readable.

0 commit comments

Comments
 (0)