docs(toh-6): use consistent header syntax

closes #1903
This commit is contained in:
Torgeir Helgevold 2016-07-16 14:45:10 -04:00 committed by Ward Bell
parent 6bf6741bcb
commit a19c2ce726
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}