diff --git a/apps/maarch_entreprise/js/angular/app/profile.component.ts b/apps/maarch_entreprise/js/angular/app/profile.component.ts index dba427e00f7c7f0e64be55f270851c96e56aa22b..b819ebf333eee6651da37599becbf95907464ab8 100755 --- a/apps/maarch_entreprise/js/angular/app/profile.component.ts +++ b/apps/maarch_entreprise/js/angular/app/profile.component.ts @@ -266,7 +266,7 @@ export class ProfileComponent implements OnInit { } delBasketRedirection(basket: any) { - this.http.delete(this.coreUrl + 'rest/users/' + this.user.id + '/redirectedBaskets/' + basket.basket_id) + this.http.request('DELETE', this.coreUrl + "rest/users/" + this.user.id + "/redirectedBaskets/" + basket.basket_id, {body : {"basketOwner" : basket.basket_owner}}) .subscribe((data: any) => { this.user.redirectedBaskets = data["redirectedBaskets"]; this.user.baskets.forEach((value: any, index: number) => {