fix: fixed a bug in DTO that caused a data parsing error in manga search

This commit is contained in:
Lorg0n 2024-10-30 21:05:06 +03:00
parent ef3369be26
commit e9b41975da

View file

@ -18,7 +18,7 @@ data class HKManga(
@SerialName("translated_ua") val translatedUa: Boolean, @SerialName("translated_ua") val translatedUa: Boolean,
val status: String, val status: String,
val image: String, val image: String,
val year: Int, val year: Int? = null,
@SerialName("scored_by") val scoredBy: Int, @SerialName("scored_by") val scoredBy: Int,
val score: Double, val score: Double,
val slug: String, val slug: String,