diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt index 6a0708c..0059629 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt @@ -7,7 +7,7 @@ public data class Movie( val id: Long, val title: String, val poster_path: String, - val backdrop_path: String, + val backdrop_path: String?, val overview: String, val vote_average: Double, val popularity: Double, diff --git a/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt index a724efe..acb7141 100644 --- a/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt @@ -12,7 +12,7 @@ internal data class MovieState( val subtitle: String, val tagline: String, val posterPath: String, - val backdropPath: String, + val backdropPath: String?, val overview: String, val userScore: Int, val releaseDate: String,