From 400486ced726938e6719d63881ad21592a086931 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 16 Jun 2017 08:17:31 +0200 Subject: [PATCH] docs(aio): correct typos in Tour of Heroes `HeroSearchService` --- aio/content/examples/toh-pt6/src/app/hero-search.service.ts | 2 +- aio/content/examples/universal/src/app/hero-search.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/toh-pt6/src/app/hero-search.service.ts b/aio/content/examples/toh-pt6/src/app/hero-search.service.ts index d24e0fba41..52bf95a158 100644 --- a/aio/content/examples/toh-pt6/src/app/hero-search.service.ts +++ b/aio/content/examples/toh-pt6/src/app/hero-search.service.ts @@ -14,7 +14,7 @@ export class HeroSearchService { search(term: string): Observable { return this.http - .get(`app/heroes/?name=${term}`) + .get(`api/heroes/?name=${term}`) .map(response => response.json().data as Hero[]); } } diff --git a/aio/content/examples/universal/src/app/hero-search.service.ts b/aio/content/examples/universal/src/app/hero-search.service.ts index d24e0fba41..52bf95a158 100644 --- a/aio/content/examples/universal/src/app/hero-search.service.ts +++ b/aio/content/examples/universal/src/app/hero-search.service.ts @@ -14,7 +14,7 @@ export class HeroSearchService { search(term: string): Observable { return this.http - .get(`app/heroes/?name=${term}`) + .get(`api/heroes/?name=${term}`) .map(response => response.json().data as Hero[]); } }