MangaHub: Make chapter nullable in dto (#16407)

* MangaHub: Make chapter nullable in dto

* Deal with newlines
This commit is contained in:
Slowlife 2023-05-11 20:58:41 +07:00 committed by GitHub
parent 18aed05f89
commit ca87da67a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class MangaHubGenerator : ThemeSourceGenerator {
override val themeClass = "MangaHub"
override val baseVersionCode: Int = 19
override val baseVersionCode: Int = 20
override val sources = listOf(
// SingleLang("1Manga.co", "https://1manga.co", "en", isNsfw = true, className = "OneMangaCo"),

View File

@ -27,7 +27,7 @@ data class ApiChapterPagesResponse(
@Serializable
data class ApiChapterData(
val chapter: ApiChapter,
val chapter: ApiChapter?,
)
@Serializable