diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/GetRecentRoomInfoResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/GetRecentRoomInfoResponse.kt index 4a076d23..87fa0a6a 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/GetRecentRoomInfoResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/GetRecentRoomInfoResponse.kt @@ -5,5 +5,6 @@ data class GetRecentRoomInfoResponse( val notice: String, var coverImageUrl: String, val coverImagePath: String, - val numberOfPeople: Int + val numberOfPeople: Int, + val genderRestriction: GenderRestriction ) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomRepository.kt index 9fbac274..c64de8ab 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomRepository.kt @@ -311,7 +311,8 @@ class LiveRoomQueryRepositoryImpl( liveRoom.notice, liveRoom.coverImage.prepend("/").prepend(cloudFrontHost), liveRoom.coverImage, - liveRoom.numberOfPeople + liveRoom.numberOfPeople, + liveRoom.genderRestriction ) ) .from(liveRoom)