Skip to content

Commit e245f01

Browse files
Dan WahlinDan Wahlin
Dan Wahlin
authored and
Dan Wahlin
committed
Simplified URL string
1 parent 7254e18 commit e245f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/core/data.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class DataService {
7575

7676
deleteCustomer(id: string) : Observable<boolean> {
7777

78-
return this.http.delete(`${this.baseUrl}/${id}?_csrf=${this.csrfToken}`, this.getRequestOptions())
78+
return this.http.delete(this.baseUrl + '/' + id, this.getRequestOptions())
7979
.map((res: Response) => res.json())
8080
.catch(this.handleError);
8181
}

0 commit comments

Comments
 (0)