Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

* docs(toh-6): update 'let' to 'const' for delete hero #2355

Merged
merged 1 commit into from
Sep 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-6/ts/app/hero.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class HeroService {

// #docregion delete
delete(id: number): Promise<void> {
let url = `${this.heroesUrl}/${id}`;
const url = `${this.heroesUrl}/${id}`;
return this.http.delete(url, {headers: this.headers})
.toPromise()
.then(() => null)
Expand Down