diff --git a/aio/content/examples/universal/src/app/hero.service.ts b/aio/content/examples/universal/src/app/hero.service.ts index 18f9b72d2d..5519f1c105 100644 --- a/aio/content/examples/universal/src/app/hero.service.ts +++ b/aio/content/examples/universal/src/app/hero.service.ts @@ -30,7 +30,7 @@ export class HeroService { getHeroes (): Observable { return this.http.get(this.heroesUrl) .pipe( - tap(heroes => this.log(`fetched heroes`)), + tap(heroes => this.log('fetched heroes')), catchError(this.handleError('getHeroes', [])) ); }