sidebar page tree

* frontend and backend implementation
This commit is contained in:
Philipinho
2023-10-15 01:01:17 +01:00
parent e4099ad4c5
commit 2689b267cf
40 changed files with 1069 additions and 491 deletions
@@ -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(