Skip to content

Commit ff49ba6

Browse files
authored
Merge pull request #215 from boostcampwm-2022/hotfix
Hotfix: momSocketServer 잘λͺ»λœ namespace μˆ˜μ •
2 parents f3479e9 + 2f72fef commit ff49ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

β€Žserver/socket/mom.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function momSocketServer(io: Server) {
2323
socket.on(SOCKET_MESSAGE.MOM.CREATE, async () => {
2424
const mom = await crdtManager.onCreateMom(workspaceId);
2525

26-
workspace.emit(SOCKET_MESSAGE.MOM.CREATE, mom);
26+
io.of(namespace).emit(SOCKET_MESSAGE.MOM.CREATE, mom);
2727
});
2828

2929
/* 회의둝 μ„ νƒν•˜κΈ° */

0 commit comments

Comments
Β (0)