Fix workspace/user deletion (#2648)
* Fix workspace/user deletion * remove logs * add defaultWorkspace check
This commit is contained in:
@@ -22,6 +22,7 @@ export class WorkspaceService extends TypeOrmQueryService<Workspace> {
|
||||
assert(workspace, 'Workspace not found');
|
||||
|
||||
await this.workspaceManagerService.delete(id);
|
||||
await this.workspaceRepository.delete(id);
|
||||
|
||||
return workspace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user