mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-19 08:05:16 +00:00
Fix check issue
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user