Skip to content

Commit

Permalink
chore: 불필요한 선언문 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonun321 committed Nov 24, 2024
1 parent e31934d commit df45a85
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/src/crdt/crdt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ import { WorkSpaceSerializedProps } from "@noctaCrdt/Interfaces";
@Injectable()
export class workSpaceService implements OnModuleInit {
private workspaces: Map<string, CRDTWorkSpace>;
private tempPage: CRDTPage;
constructor(@InjectModel(Workspace.name) private workspaceModel: Model<WorkspaceDocument>) {
// this.tempPage = new CRDTPage();
// this.workspaces = new CRDTWorkSpace("test", [this.tempPage]);
}
constructor(@InjectModel(Workspace.name) private workspaceModel: Model<WorkspaceDocument>) {}
async onModuleInit() {
this.workspaces = new Map();
// 게스트 워크스페이스 초기화
Expand Down

0 comments on commit df45a85

Please sign in to comment.