diff --git a/src/app/affiliations/affiliations.component.ts b/src/app/affiliations/affiliations.component.ts index 22e516e..8e9ee51 100644 --- a/src/app/affiliations/affiliations.component.ts +++ b/src/app/affiliations/affiliations.component.ts @@ -62,14 +62,14 @@ export class AffiliationsComponent { } if(this.getAffiliationsFromAPI) { this.showLoading = true; - this.affiliationService.initAffiliations(this.properties, this.properties.communityAPI + this.communityId + "/organizations"); + this.affiliationService.initAffiliations(this.communityId); this.affiliationService.affiliations.subscribe( affiliations => { this.affiliations = affiliations; this.showLoading = false; }, error => { - console.error("Affiliations Component: Error getting affiliations for community with id: "+this.communityId, error); + console.error("Affiliations Component: Error getting affiliations for community with id: " + this.communityId, error); this.showLoading = false; } );