We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7254e18 commit e245f01Copy full SHA for e245f01
public/app/core/data.service.ts
@@ -75,7 +75,7 @@ export class DataService {
75
76
deleteCustomer(id: string) : Observable<boolean> {
77
78
- return this.http.delete(`${this.baseUrl}/${id}?_csrf=${this.csrfToken}`, this.getRequestOptions())
+ return this.http.delete(this.baseUrl + '/' + id, this.getRequestOptions())
79
.map((res: Response) => res.json())
80
.catch(this.handleError);
81
}
0 commit comments