Skip to content

Commit

Permalink
fix: show correct air date for tv shows
Browse files Browse the repository at this point in the history
  • Loading branch information
Divinelink committed Jul 24, 2024
1 parent 111da63 commit e295d39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fun MultiSearchResponseApi.map(): MultiSearch = MultiSearch(
MediaType.TV -> MediaItem.Media.TV(
id = it.id,
posterPath = it.posterPath,
releaseDate = it.releaseDate ?: "",
releaseDate = it.firstAirDate ?: "",
name = it.name!!,
rating = it.voteAverage?.round(1).toString(),
overview = it.overview ?: "",
Expand Down

0 comments on commit e295d39

Please sign in to comment.