From bacbfd7d902a633feb44735a44a2a6dcf5ff43fb Mon Sep 17 00:00:00 2001 From: EmilyCh0 Date: Mon, 18 Mar 2024 20:41:28 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20FestivalResponse=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/festago/festago/data/dto/festival/FestivalResponse.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/festago/data/src/main/java/com/festago/festago/data/dto/festival/FestivalResponse.kt b/android/festago/data/src/main/java/com/festago/festago/data/dto/festival/FestivalResponse.kt index 64aee9566..8cbfda71b 100644 --- a/android/festago/data/src/main/java/com/festago/festago/data/dto/festival/FestivalResponse.kt +++ b/android/festago/data/src/main/java/com/festago/festago/data/dto/festival/FestivalResponse.kt @@ -12,7 +12,7 @@ data class FestivalResponse( val name: String, val startDate: String, val endDate: String, - val imageUrl: String, + val posterImageUrl: String, val school: SchoolResponse, val artists: List, ) { @@ -21,7 +21,7 @@ data class FestivalResponse( name = name, startDate = LocalDate.parse(startDate), endDate = LocalDate.parse(endDate), - imageUrl = imageUrl, + imageUrl = posterImageUrl, school = school.toDomain(), artists = artists.map { it.toDomain() }, ) From c39f2726d3592509ada8754d40e6786b0b7ac69e Mon Sep 17 00:00:00 2001 From: EmilyCh0 Date: Mon, 18 Mar 2024 20:41:40 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20ArtistResponse=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/festago/festago/data/dto/artist/ArtistResponse.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/festago/data/src/main/java/com/festago/festago/data/dto/artist/ArtistResponse.kt b/android/festago/data/src/main/java/com/festago/festago/data/dto/artist/ArtistResponse.kt index 12cf9816b..2ff020431 100644 --- a/android/festago/data/src/main/java/com/festago/festago/data/dto/artist/ArtistResponse.kt +++ b/android/festago/data/src/main/java/com/festago/festago/data/dto/artist/ArtistResponse.kt @@ -7,11 +7,11 @@ import kotlinx.serialization.Serializable data class ArtistResponse( val id: Long, val name: String, - val imageUrl: String, + val profileImage: String, ) { fun toDomain() = Artist( id = id, name = name, - imageUrl = imageUrl, + imageUrl = profileImage, ) }