From 3692d05c34264af272dddab21a45bfb23685f5eb Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Mon, 7 Mar 2016 19:05:20 +0100 Subject: [PATCH] docs(toh5): fix indentation on a method closes #921 --- public/docs/_examples/toh-5/ts/app/hero.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/_examples/toh-5/ts/app/hero.service.ts b/public/docs/_examples/toh-5/ts/app/hero.service.ts index a55f71ec95..fb7d0829cb 100644 --- a/public/docs/_examples/toh-5/ts/app/hero.service.ts +++ b/public/docs/_examples/toh-5/ts/app/hero.service.ts @@ -18,7 +18,7 @@ export class HeroService { } //#docregion get-hero - getHero(id: number) { + getHero(id: number) { return Promise.resolve(HEROES).then( heroes => heroes.filter(hero => hero.id === id)[0] );