docs: add missing closing bracket (#35890)

Closes #35887
PR Close #35890
This commit is contained in:
Sonu Kapoor 2020-03-05 21:40:24 -05:00 committed by Matias Niemelä
parent a1b90619ba
commit 44f9fa6ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
};
```