diff --git a/public/docs/_examples/toh-6/ts/app/hero.service.ts b/public/docs/_examples/toh-6/ts/app/hero.service.ts index a2344d84e6..8abbcc2778 100644 --- a/public/docs/_examples/toh-6/ts/app/hero.service.ts +++ b/public/docs/_examples/toh-6/ts/app/hero.service.ts @@ -53,7 +53,7 @@ export class HeroService { let url = `${this.heroesUrl}/${hero.id}`; return this.http - .delete(url, headers) + .delete(url, {headers: headers}) .toPromise() .catch(this.handleError); }