refactor: removing the workspace type entirely
This commit is contained in:
@@ -12,14 +12,14 @@ export class WorkspaceRepository {
|
||||
|
||||
findAll() {
|
||||
return this.repository.find({
|
||||
relations: ["workspaceType", "projects", "users"],
|
||||
relations: ["projects", "users"],
|
||||
});
|
||||
}
|
||||
|
||||
findOneById(id: string) {
|
||||
return this.repository.findOne({
|
||||
where: { id },
|
||||
relations: ["workspaceType", "projects", "users"],
|
||||
relations: ["projects", "users"],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user