Skip to content

Commit

Permalink
[chore] 채팅방 생성 로직 주석 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdtmdqorekf committed May 19, 2024
1 parent d1e9914 commit 7610386
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ public MatchAcceptResponse acceptMatchRequest(MatchIdDto dto) {
Long senderId = getLongId(redisTemplate.opsForHash().get(key, "senderId"));
Long receiverId = getLongId(redisTemplate.opsForHash().get(key, "receiverId"));

// ChatroomCreationDto chatroomCreationDto = new ChatroomCreationDto(senderId, receiverId);
// Long chatroomId = chatroomService.createChatroom(chatroomCreationDto);
ChatroomCreationDto chatroomCreationDto = new ChatroomCreationDto(senderId, receiverId);
Long chatroomId = chatroomService.createChatroom(chatroomCreationDto);

redisTemplate.opsForHash().put(key, "status", "accepted");

Expand Down Expand Up @@ -207,7 +207,7 @@ public MatchAcceptResponse acceptMatchRequest(MatchIdDto dto) {
match.setSenderId(senderId);
match.setReceiverId(receiverId);
match.setStatus("accepted");
// match.setChatroomId(chatroomId);
match.setChatroomId(chatroomId);

return match;
}
Expand Down

0 comments on commit 7610386

Please sign in to comment.