docs(aio): fix swap value (#20905)
'http.get' has been swapped in for 'of' PR Close #20905
This commit is contained in:
parent
9d3326caa7
commit
3aa7e0228a
|
@ -135,7 +135,7 @@ Convert that method to use `HttpClient`
|
|||
Refresh the browser. The hero data should successfully load from the
|
||||
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[]>`.
|
||||
|
||||
### Http methods return one value
|
||||
|
|
Loading…
Reference in New Issue