From 3bf5e7c5d5aae26e881817de60051469fbad9b7e Mon Sep 17 00:00:00 2001 From: Peter Horton Date: Wed, 28 Feb 2018 23:30:00 +0000 Subject: [PATCH] hero service class updated --- src/app/hero.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/hero.service.ts b/src/app/hero.service.ts index f552697..f91ef41 100644 --- a/src/app/hero.service.ts +++ b/src/app/hero.service.ts @@ -6,7 +6,7 @@ import { of } from 'rxjs/observable/of'; import { MessageService } from './message.service'; @Injectable() -export class HeroService { +export class heroService { getHeroes(): Observable { this.messageService.add('HeroService: fetched heroes');