From 664677a005b38e098b7c4c0cc67a921b8dbfe0c4 Mon Sep 17 00:00:00 2001 From: Klaus Date: Thu, 13 Feb 2025 14:01:09 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=A9=94?= =?UTF-8?q?=EC=9D=B8=20=EB=8B=A8=ED=8E=B8=20=ED=83=AD=20-=20=EC=83=88?= =?UTF-8?q?=EB=A1=9C=EC=9A=B4=20=EB=8B=A8=ED=8E=B8=20=EC=B2=AB=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EC=8B=9C=20=ED=85=8C=EB=A7=88=20=EC=97=86=EC=9D=B4=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=EC=A1=B0=ED=9A=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AudioContentMainTabContentService.kt | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/content/main/tab/content/AudioContentMainTabContentService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/content/main/tab/content/AudioContentMainTabContentService.kt index 6807e14..f505e2e 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/content/main/tab/content/AudioContentMainTabContentService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/content/main/tab/content/AudioContentMainTabContentService.kt @@ -33,18 +33,14 @@ class AudioContentMainTabContentService( val themeOfContentList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult) // 새로운 단편 - val newContentList = if (themeOfContentList.isNotEmpty()) { - audioContentRepository.findByTheme( - memberId = member.id!!, - theme = themeOfContentList[0], - isAdult = member.auth != null, - contentType = ContentType.ALL, - offset = 0, - limit = 10 - ) - } else { - emptyList() - } + val newContentList = audioContentRepository.findByTheme( + memberId = member.id!!, + theme = "", + isAdult = member.auth != null, + contentType = ContentType.ALL, + offset = 0, + limit = 10 + ) // 일간 랭킹 val currentDateTime = LocalDateTime.now()