From a924f469b8af162e67ca8cd1cb3fcb52b2caff09 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 29 Mar 2016 10:18:46 -0300 Subject: [PATCH] Small fix in community service --- src/lib/ng-noosfero-api/http/community.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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