parent
6bf6741bcb
commit
a19c2ce726
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue