Fix MangaPlus errors

This commit is contained in:
Jobobby04 2021-10-23 16:36:42 -04:00
parent f8d14827da
commit 04c683675f

View File

@ -28,7 +28,7 @@ class MangaPlusHandler(currentClient: OkHttpClient) {
.build()
suspend fun fetchPageList(chapterId: String): List<Page> {
val response = client.newCall(pageListRequest(chapterId)).await()
val response = client.newCall(pageListRequest(chapterId.substringAfterLast("/"))).await()
return pageListParse(response)
}