diff --git a/src/all/unionmangas/build.gradle b/src/all/unionmangas/build.gradle index 308db3159..3d41e4796 100644 --- a/src/all/unionmangas/build.gradle +++ b/src/all/unionmangas/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Union Mangas' extClass = '.UnionMangasFactory' - extVersionCode = 4 + extVersionCode = 5 isNsfw = true } diff --git a/src/all/unionmangas/src/eu/kanade/tachiyomi/extension/all/unionmangas/UnionMangasDto.kt b/src/all/unionmangas/src/eu/kanade/tachiyomi/extension/all/unionmangas/UnionMangasDto.kt index 9a0f65e10..55a77cc7a 100644 --- a/src/all/unionmangas/src/eu/kanade/tachiyomi/extension/all/unionmangas/UnionMangasDto.kt +++ b/src/all/unionmangas/src/eu/kanade/tachiyomi/extension/all/unionmangas/UnionMangasDto.kt @@ -58,11 +58,11 @@ class SearchDto( @Serializable class PageDto(val `data`: Data) { - val pages: List get() = `data`.lsDetail.source.split("#") + val pages: List get() = `data`.detailDocuments.source.split("#") @Serializable - class Data(val lsDetail: LsDetail) + class Data(@SerialName("detail_documents") val detailDocuments: DetailDocuments) @Serializable - class LsDetail(val source: String) + class DetailDocuments(val source: String) }