diff --git a/src/helpers/PostsHelper.ts b/src/helpers/PostsHelper.ts index 19d0e5d..dacfef9 100644 --- a/src/helpers/PostsHelper.ts +++ b/src/helpers/PostsHelper.ts @@ -209,7 +209,7 @@ export class PostsHelper { else if(post.kindPage == PostPageKind.PAGE_KIND_GROUP) { // TODO : check this code - const accessLevel = await GroupsHelper.GetMembershipLevel(userID, post.groupID); + const accessLevel = await GroupsHelper.GetMembershipLevel(post.groupID, userID); // Moderator & admin = intermediate access if(accessLevel < GroupMembershipLevels.MEMBER)