From 6f56611f189489657afbebbfee0cc498f60ef872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9luchu?= Date: Thu, 5 Jun 2025 18:43:31 +0200 Subject: [PATCH] Remove sources in MoreInfo --- .../kotlin/com/jeluchu/features/anime/mappers/AnimeMappers.kt | 1 - .../com/jeluchu/features/anime/models/anime/MoreInfoEntity.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/src/main/kotlin/com/jeluchu/features/anime/mappers/AnimeMappers.kt b/src/main/kotlin/com/jeluchu/features/anime/mappers/AnimeMappers.kt index 43cea3c..eefb21c 100644 --- a/src/main/kotlin/com/jeluchu/features/anime/mappers/AnimeMappers.kt +++ b/src/main/kotlin/com/jeluchu/features/anime/mappers/AnimeMappers.kt @@ -36,7 +36,6 @@ fun documentToMoreInfoEntity(doc: Document): MoreInfoEntity { type = doc.getStringSafe("type"), url = doc.getStringSafe("url"), promo = doc.getDocumentSafe("promo")?.let { documentToVideoPromo(it) } ?: VideoPromo(), - source = doc.getStringSafe("source"), duration = doc.getStringSafe("duration"), rank = doc.getIntSafe("rank", 0), titles = doc.getListSafe("titles").map { documentToAlternativeTitles(it) }, diff --git a/src/main/kotlin/com/jeluchu/features/anime/models/anime/MoreInfoEntity.kt b/src/main/kotlin/com/jeluchu/features/anime/models/anime/MoreInfoEntity.kt index a8ba132..7ed3c09 100644 --- a/src/main/kotlin/com/jeluchu/features/anime/models/anime/MoreInfoEntity.kt +++ b/src/main/kotlin/com/jeluchu/features/anime/models/anime/MoreInfoEntity.kt @@ -23,7 +23,6 @@ data class MoreInfoEntity( var type: String = "", val url: String = "", val promo: VideoPromo = VideoPromo(), - val source: String = "", val duration: String = "", val rank: Int = 0, val titles: List = emptyList(),