diff --git a/src/helpers/GroupsHelper.ts b/src/helpers/GroupsHelper.ts index 8587794..e4f3bbe 100644 --- a/src/helpers/GroupsHelper.ts +++ b/src/helpers/GroupsHelper.ts @@ -118,7 +118,7 @@ export class GroupsHelper { public static async GetAccessLevel(groupID: number, userID: number) : Promise { const membershipLevel = - userID > 0 ? await this.GetMembershipLevel(userID, groupID) : GroupMembershipLevels.VISITOR; + userID > 0 ? await this.GetMembershipLevel(groupID, userID) : GroupMembershipLevels.VISITOR; //Check if the user is a confirmed member of group if(membershipLevel == GroupMembershipLevels.ADMINISTRATOR)