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

View File

@ -53,7 +53,7 @@ export class HeroService {
let url = `${this.heroesUrl}/${hero.id}`; let url = `${this.heroesUrl}/${hero.id}`;
return this.http return this.http
.delete(url, headers) .delete(url, {headers: headers})
.toPromise() .toPromise()
.catch(this.handleError); .catch(this.handleError);
} }