mirror of
https://github.com/docmost/docmost.git
synced 2026-05-16 05:44:04 +08: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