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

Commit a19c2ce

Browse files
thelgevoldwardbell
authored andcommitted
docs(toh-6): use consistent header syntax
closes #1903
1 parent 6bf6741 commit a19c2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/_examples/toh-6/ts/app/hero.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class HeroService {
5353
let url = `${this.heroesUrl}/${hero.id}`;
5454

5555
return this.http
56-
.delete(url, headers)
56+
.delete(url, {headers: headers})
5757
.toPromise()
5858
.catch(this.handleError);
5959
}

0 commit comments

Comments
 (0)