cache key 수정 - getActiveThemeOfContent -> activeThemeOfContent

This commit is contained in:
Klaus 2023-11-02 20:54:44 +09:00
parent 42fbcdd1e8
commit bc1db79430
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class AudioContentThemeQueryRepository(
.fetch()
}
@Cacheable(cacheNames = ["default"], key = "'getActiveThemeOfContent:' + ':' + #isAdult")
@Cacheable(cacheNames = ["default"], key = "'activeThemeOfContent:' + ':' + #isAdult")
fun getActiveThemeOfContent(isAdult: Boolean = false): List<String> {
var where = audioContent.isActive.isTrue
.and(audioContentTheme.isActive.isTrue)