From a19c2ce7267357922f88fefbb9f9629ec2aa63ba Mon Sep 17 00:00:00 2001 From: Torgeir Helgevold Date: Sat, 16 Jul 2016 14:45:10 -0400 Subject: [PATCH] docs(toh-6): use consistent header syntax closes #1903 --- public/docs/_examples/toh-6/ts/app/hero.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }