mirror of
https://github.com/docmost/docmost.git
synced 2025-11-20 21:41:09 +10:00
fix workspace setup
This commit is contained in:
@ -12,5 +12,5 @@ export class CreateGroupDto {
|
||||
}
|
||||
|
||||
export enum DefaultGroup {
|
||||
EVERYONE = 'users',
|
||||
EVERYONE = 'internal_users',
|
||||
}
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user