From ae014531d321598b02556734958e46cefffd4ea8 Mon Sep 17 00:00:00 2001 From: Hamza HRAMCHI <hamza.hramchi@xelians.fr> Date: Thu, 28 Oct 2021 16:37:58 +0200 Subject: [PATCH] FIX #14837 TIME 0:25 update url request --- .../send-multigest-action.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/app/actions/send-multigest-action/send-multigest-action.component.ts b/src/frontend/app/actions/send-multigest-action/send-multigest-action.component.ts index 385dce15966..d362f53e02c 100644 --- a/src/frontend/app/actions/send-multigest-action/send-multigest-action.component.ts +++ b/src/frontend/app/actions/send-multigest-action/send-multigest-action.component.ts @@ -35,7 +35,7 @@ export class SendMultigestActionComponent implements OnInit { async ngOnInit(): Promise<void> { this.loading = true; - // await this.checkMultigest(); + await this.checkMultigest(); this.loading = false; } @@ -43,7 +43,7 @@ export class SendMultigestActionComponent implements OnInit { this.resourcesErrors = []; return new Promise((resolve, reject) => { - this.http.post('../rest/resourcesList/users/' + this.data.userId + '/groups/' + this.data.groupId + '/baskets/' + this.data.basketId + '/actions/' + this.data.action.id + '/checkMultigest', { resources: this.data.resIds }) + this.http.post('../rest/resourcesList/users/' + this.data.userId + '/groups/' + this.data.groupId + '/baskets/' + this.data.basketId + '/actions/' + this.data.action.id + '/checkSendMultigest', { resources: this.data.resIds }) .subscribe((data: any) => { if (!this.functions.empty(data.fatalError)) { this.notify.error(this.translate.instant('lang.' + data.reason)); @@ -72,7 +72,7 @@ export class SendMultigestActionComponent implements OnInit { const realResSelected: number[] = this.data.resIds.filter((resId: any) => this.resourcesErrors.map(resErr => resErr.res_id).indexOf(resId) === -1); - this.http.put(this.data.processActionRoute, { resources: realResSelected, note: this.noteEditor.getNoteContent() }).pipe( + this.http.put(this.data.processActionRoute, { resources: realResSelected, note: this.noteEditor.getNote()}).pipe( tap((data: any) => { if (!data) { this.dialogRef.close('success'); -- GitLab