diff --git a/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts b/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts index bd1d93c69cb2ef5e6b208307dfe77b90400dde5d..7306dc3cc3bb6904aed53581cf90993c2124228b 100644 --- a/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts +++ b/src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts @@ -168,6 +168,7 @@ export class EditIndividualsComponent implements OnInit { let updateObj: IndividualCreate | IndividualUpdate = { familyName: this.editForm.value.familyName, givenName: this.editForm.value.givenName, + preferredGivenName: this.editForm.value.givenName, location: this.editForm.value.location, contactMedium: [{ mediumType: 'main', @@ -226,7 +227,7 @@ export class EditIndividualsComponent implements OnInit { } retrieveGeographicSite(){ - this.geographicSiteService.retrieveGeographicSite(this.individualID).subscribe( + this.geographicSiteService.retrieveGeographicSite("myuser").subscribe( data => this.geographicSite = data, error => console.error(error), () => {