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, ) } 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() }, )