fix(chat-room): 채팅방 입장

- AI 채팅 쿼터 Lazy refill 적용을 위해 read/write 모두 가능하도록 Transaction 수정
This commit is contained in:
Klaus 2025-08-26 14:57:57 +09:00
parent 048c48d754
commit fcb68be006
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class ChatRoomService(
return fetchSessionActive(room.sessionId)
}
@Transactional(readOnly = true)
@Transactional
fun enterChatRoom(member: Member, chatRoomId: Long): ChatRoomEnterResponse {
val room = chatRoomRepository.findById(chatRoomId).orElseThrow {
SodaException("채팅방을 찾을 수 없습니다.")