translated라는 이름이 중복 사용되어 생기던 name shadow 문제 해결

This commit is contained in:
2025-12-19 12:27:32 +09:00
parent 3f74eefacc
commit ee495dae3a

View File

@@ -835,9 +835,9 @@ class AudioContentService(
val theme = audioContent.theme
if (theme?.id != null) {
val locale = langContext.lang.code
val translated = contentThemeTranslationRepository
val translatedContentTheme = contentThemeTranslationRepository
.findByContentThemeIdAndLocale(theme.id!!, locale)
val text = translated?.theme
val text = translatedContentTheme?.theme
if (!text.isNullOrBlank()) text else theme.theme
} else {
audioContent.theme!!.theme