feat: 메인 홈
- API 추가
This commit is contained in:
@@ -26,7 +26,6 @@ class EventService(
|
||||
@Transactional(readOnly = true)
|
||||
fun getEventList(isAdult: Boolean? = null): GetEventResponse {
|
||||
val eventList = repository.getEventList(isAdult)
|
||||
.asSequence()
|
||||
.map {
|
||||
if (!it.thumbnailImageUrl.startsWith("https://")) {
|
||||
it.thumbnailImageUrl = "$cloudFrontHost/${it.thumbnailImageUrl}"
|
||||
@@ -42,7 +41,6 @@ class EventService(
|
||||
|
||||
it
|
||||
}
|
||||
.toList()
|
||||
|
||||
return GetEventResponse(0, eventList)
|
||||
}
|
||||
|
Reference in New Issue
Block a user