This commit is contained in:
Peter Maquiran
2021-07-13 17:01:59 +01:00
parent 201a56a1c3
commit c05cc20f93
2 changed files with 9 additions and 4 deletions
@@ -102,7 +102,7 @@ export class EditEventPage implements OnInit {
public alertController: AlertController,
private attachmentsService: AttachmentsService,
private toastService: ToastService ) {
}
ngOnInit() {
@@ -268,8 +268,13 @@ export class EditEventPage implements OnInit {
"EventId": this.postEvent.EventId,
"CalendarDestinationName": this.postEvent.CalendarName,
}
console.log(body);
await this.eventsService.changeAgenda(body).toPromise();
try {
await this.eventsService.changeAgenda(body).toPromise();
} catch (e) {}
}
this.showLoader = false;
this.toastService.successMessage()