Skip to content

Commit 4275ea9

Browse files
committed
Feat: chat 채팅방 입장
1 parent 5c313a9 commit 4275ea9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/cmf/commitField/domain/chat/chatRoom/controller/ChatRoomController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
public class ChatRoomController {
1818
private final ChatRoomService chatRoomService;
1919

20+
//채팅방 생성
2021
@PostMapping("/room")
2122
public GlobalResponse<Object> createRoom(
2223
@RequestBody @Valid ChatRoomRequest chatRoomRequest) {
@@ -32,6 +33,7 @@ public GlobalResponse<Object> createRoom(
3233
}
3334
}
3435

36+
//채팅방 입장
3537
@PostMapping("/room/join/{roomId}")
3638
public GlobalResponse<Object> joinRoom(@PathVariable Long roomId) {
3739
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();

0 commit comments

Comments
 (0)