commit
c6853289ad
|
@ -59,10 +59,10 @@ class ContentSeriesContentQueryRepositoryImpl(
|
||||||
.and(audioContent.isActive.isTrue)
|
.and(audioContent.isActive.isTrue)
|
||||||
.and(audioContent.duration.isNotNull)
|
.and(audioContent.duration.isNotNull)
|
||||||
|
|
||||||
var orderBy = seriesContent.createdAt.desc()
|
var orderBy = audioContent.releaseDate.desc()
|
||||||
|
|
||||||
if (sortType == SeriesSortType.OLDEST) {
|
if (sortType == SeriesSortType.OLDEST) {
|
||||||
orderBy = seriesContent.createdAt.asc()
|
orderBy = audioContent.releaseDate.asc()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isAdult) {
|
if (!isAdult) {
|
||||||
|
|
|
@ -408,7 +408,7 @@ class LiveRoomService(
|
||||||
?: throw SodaException("이미 종료된 방입니다")
|
?: throw SodaException("이미 종료된 방입니다")
|
||||||
|
|
||||||
if (room.isAdult && member.auth == null) {
|
if (room.isAdult && member.auth == null) {
|
||||||
throw SodaException("본인인증이 필요한 서비스 입니다.\n소다라이브 마이페이지에서 본인인증 후 다시 이용해 주세요.")
|
throw SodaException("본인인증이 필요한 서비스 입니다.")
|
||||||
}
|
}
|
||||||
|
|
||||||
val beginDateTime = room.beginDateTime
|
val beginDateTime = room.beginDateTime
|
||||||
|
|
Loading…
Reference in New Issue