Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeppner-dataport committed Dec 11, 2024
1 parent 0358d32 commit 1e141a9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ export class RoomMembershipService {

const group = await this.groupService.findById(roomMembership.userGroupId);

// TODO: fail if trying to remove owner
// const hasOwner = group.users
// .filter((user) => userIds.includes(user.userId))
// .some((groupUser) => groupUser.roleName === RoleName.ROOMOWNER);

await this.groupService.removeUsersFromGroup(group.id, userIds);

await this.handleGuestRoleRemoval(userIds, roomMembership.schoolId);
Expand Down

0 comments on commit 1e141a9

Please sign in to comment.