docs: add missing closing bracket (#35890)
Closes #35887 PR Close #35890
This commit is contained in:
parent
a1b90619ba
commit
44f9fa6ce5
|
@ -185,7 +185,7 @@ searchHeroes(term: string): Observable {
|
|||
|
||||
let heroesURL = `${this.heroesURL}?${term}`;
|
||||
return this.http.jsonp(heroesUrl, 'callback').pipe(
|
||||
catchError(this.handleError('searchHeroes', []) // then handle the error
|
||||
catchError(this.handleError('searchHeroes', [])) // then handle the error
|
||||
);
|
||||
};
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue