diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index 75c52cf7cc..1949597c0d 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -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 ); }; ```