mirror of https://github.com/aruppi/aruppi-api
Remove sources in MoreInfo
This commit is contained in:
parent
a846b2ef4c
commit
6f56611f18
|
@ -36,7 +36,6 @@ fun documentToMoreInfoEntity(doc: Document): MoreInfoEntity {
|
||||||
type = doc.getStringSafe("type"),
|
type = doc.getStringSafe("type"),
|
||||||
url = doc.getStringSafe("url"),
|
url = doc.getStringSafe("url"),
|
||||||
promo = doc.getDocumentSafe("promo")?.let { documentToVideoPromo(it) } ?: VideoPromo(),
|
promo = doc.getDocumentSafe("promo")?.let { documentToVideoPromo(it) } ?: VideoPromo(),
|
||||||
source = doc.getStringSafe("source"),
|
|
||||||
duration = doc.getStringSafe("duration"),
|
duration = doc.getStringSafe("duration"),
|
||||||
rank = doc.getIntSafe("rank", 0),
|
rank = doc.getIntSafe("rank", 0),
|
||||||
titles = doc.getListSafe<Document>("titles").map { documentToAlternativeTitles(it) },
|
titles = doc.getListSafe<Document>("titles").map { documentToAlternativeTitles(it) },
|
||||||
|
|
|
@ -23,7 +23,6 @@ data class MoreInfoEntity(
|
||||||
var type: String = "",
|
var type: String = "",
|
||||||
val url: String = "",
|
val url: String = "",
|
||||||
val promo: VideoPromo = VideoPromo(),
|
val promo: VideoPromo = VideoPromo(),
|
||||||
val source: String = "",
|
|
||||||
val duration: String = "",
|
val duration: String = "",
|
||||||
val rank: Int = 0,
|
val rank: Int = 0,
|
||||||
val titles: List<AlternativeTitles> = emptyList(),
|
val titles: List<AlternativeTitles> = emptyList(),
|
||||||
|
|
Loading…
Reference in New Issue