docs(aio): correct typos in Tour of Heroes `HeroSearchService`

This commit is contained in:
David 2017-06-16 08:17:31 +02:00 committed by Matias Niemelä
parent 1a947e4b75
commit 400486ced7
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export class HeroSearchService {
search(term: string): Observable<Hero[]> {
return this.http
.get(`app/heroes/?name=${term}`)
.get(`api/heroes/?name=${term}`)
.map(response => response.json().data as Hero[]);
}
}

View File

@ -14,7 +14,7 @@ export class HeroSearchService {
search(term: string): Observable<Hero[]> {
return this.http
.get(`app/heroes/?name=${term}`)
.get(`api/heroes/?name=${term}`)
.map(response => response.json().data as Hero[]);
}
}