fix workspace setup

This commit is contained in:
Philipinho
2024-03-29 02:19:24 +00:00
parent c18c9ae02b
commit 82da4ffdc2
7 changed files with 15 additions and 16 deletions

View File

@ -12,5 +12,5 @@ export class CreateGroupDto {
}
export enum DefaultGroup {
EVERYONE = 'users',
EVERYONE = 'internal_users',
}

View File

@ -63,7 +63,7 @@ export class GroupUserService {
await executeTx(
this.db,
async (trx) => {
await this.groupService.findAndValidateGroup(groupId, workspaceId);
// await this.groupService.findAndValidateGroup(groupId, workspaceId);
const groupUserExists = await this.groupUserRepo.getGroupUserById(
userId,
groupId,