docs(aio): fix swap value (#20905)

'http.get' has been swapped in for 'of'

PR Close #20905
This commit is contained in:
A7xSV 2017-12-09 12:17:57 +05:30 committed by Alex Rickabaugh
parent 9d3326caa7
commit 3aa7e0228a
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ Convert that method to use `HttpClient`
Refresh the browser. The hero data should successfully load from the Refresh the browser. The hero data should successfully load from the
mock server. mock server.
You've swapped `http.get` for `of` and the app keeps working without any other changes You've swapped `of` for `http.get` and the app keeps working without any other changes
because both functions return an `Observable<Hero[]>`. because both functions return an `Observable<Hero[]>`.
### Http methods return one value ### Http methods return one value