fix: 메인 홈 - 추천 채널
- 콘텐츠가 빈 리스트로 반환되는 버그 수정
This commit is contained in:
@@ -61,7 +61,7 @@ class RecommendChannelQueryRepository(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun getContentsByCreatorIdLikeDesc(creatorId: Long): List<RecommendChannelContentItem> {
|
fun getContentsByCreatorIdLikeDesc(creatorId: Long): List<RecommendChannelContentItem> {
|
||||||
queryFactory
|
return queryFactory
|
||||||
.select(
|
.select(
|
||||||
QRecommendChannelContentItem(
|
QRecommendChannelContentItem(
|
||||||
audioContent.id,
|
audioContent.id,
|
||||||
@@ -77,6 +77,5 @@ class RecommendChannelQueryRepository(
|
|||||||
.where(audioContent.member.id.eq(creatorId))
|
.where(audioContent.member.id.eq(creatorId))
|
||||||
.groupBy(audioContent.id)
|
.groupBy(audioContent.id)
|
||||||
.fetch()
|
.fetch()
|
||||||
return listOf()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user