fix(channel-donation): 후원 메시지 회원 로딩을 보장한다

This commit is contained in:
2026-07-01 14:00:09 +09:00
parent 40ea7680c5
commit 5adbae3213
3 changed files with 33 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ class ChannelDonationMessageQueryRepositoryImpl(
return queryFactory
.selectFrom(channelDonationMessage)
.leftJoin(channelDonationMessage.member).fetchJoin()
.where(where)
.offset(offset)
.limit(limit)

View File

@@ -18,6 +18,7 @@ import java.time.format.DateTimeFormatter
import java.time.temporal.TemporalAdjusters
@Service
@Transactional(readOnly = true)
class ChannelDonationService(
private val canPaymentService: CanPaymentService,
private val memberRepository: MemberRepository,