Merge pull request 'GetAudioContentMainItem - adult를 isAdult로 변경, 캐시 제거' (#54) from test into main
Reviewed-on: #54
This commit is contained in:
		| @@ -428,10 +428,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) | |||||||
|             .fetch() |             .fetch() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Cacheable( |  | ||||||
|         value = ["findAudioContentByCurationId"], |  | ||||||
|         cacheManager = "cacheManager" |  | ||||||
|     ) |  | ||||||
|     override fun findAudioContentByCurationId( |     override fun findAudioContentByCurationId( | ||||||
|         curationId: Long, |         curationId: Long, | ||||||
|         cloudfrontHost: String, |         cloudfrontHost: String, | ||||||
|   | |||||||
| @@ -1,14 +1,13 @@ | |||||||
| package kr.co.vividnext.sodalive.content.main | package kr.co.vividnext.sodalive.content.main | ||||||
|  |  | ||||||
| import com.fasterxml.jackson.annotation.JsonProperty |  | ||||||
| import com.querydsl.core.annotations.QueryProjection | import com.querydsl.core.annotations.QueryProjection | ||||||
|  |  | ||||||
| data class GetAudioContentMainItem @QueryProjection constructor( | data class GetAudioContentMainItem @QueryProjection constructor( | ||||||
|     @JsonProperty("contentId") val contentId: Long, |     val contentId: Long, | ||||||
|     @JsonProperty("coverImageUrl") val coverImageUrl: String, |     val coverImageUrl: String, | ||||||
|     @JsonProperty("title") val title: String, |     val title: String, | ||||||
|     @JsonProperty("adult") val isAdult: Boolean, |     val isAdult: Boolean, | ||||||
|     @JsonProperty("creatorId") val creatorId: Long, |     val creatorId: Long, | ||||||
|     @JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String, |     val creatorProfileImageUrl: String, | ||||||
|     @JsonProperty("creatorNickname") val creatorNickname: String |     val creatorNickname: String | ||||||
| ) | ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user