sidebar page tree
* frontend and backend implementation
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
ManyToOne,
|
||||
OneToMany,
|
||||
JoinColumn,
|
||||
ManyToMany,
|
||||
} from 'typeorm';
|
||||
import { User } from '../../user/entities/user.entity';
|
||||
import { WorkspaceUser } from './workspace-user.entity';
|
||||
|
||||
@@ -23,7 +23,11 @@ export class WorkspaceService {
|
||||
) {}
|
||||
|
||||
async findById(workspaceId: string): Promise<Workspace> {
|
||||
return await this.workspaceRepository.findById(workspaceId);
|
||||
return this.workspaceRepository.findById(workspaceId);
|
||||
}
|
||||
|
||||
async save(workspace: Workspace) {
|
||||
return this.workspaceRepository.save(workspace);
|
||||
}
|
||||
|
||||
async create(
|
||||
|
||||
Reference in New Issue
Block a user