diff --git a/src/lib/ng-noosfero-api/http/community.service.ts b/src/lib/ng-noosfero-api/http/community.service.ts index 925e9df..56c753d 100644 --- a/src/lib/ng-noosfero-api/http/community.service.ts +++ b/src/lib/ng-noosfero-api/http/community.service.ts @@ -23,7 +23,7 @@ export class CommunityService extends RestangularService { getByOwner(owner: any, params?: any) { // TODO see a better way to verify the owner type - if (owner.type == "Person") { + if (owner.type === "Person") { return this.getByPerson(owner, params); } else { return this.getByEnvironment(params); -- libgit2 0.21.2