NovelCool: correctly parse api reponse on search (#17463)
correctly parse api reponse on search
This commit is contained in:
parent
d19e67ed2d
commit
1ef336b1ef
|
@ -6,8 +6,8 @@ ext {
|
|||
extName = 'NovelCool'
|
||||
pkgNameSuffix = 'all.novelcool'
|
||||
extClass = '.NovelCoolFactory'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -121,7 +121,7 @@ open class NovelCool(
|
|||
return when (preference.useAppApi) {
|
||||
true -> client.newCall(commonApiRequest("$apiUrl/book/search/", page, query))
|
||||
.asObservableSuccess()
|
||||
.map(::popularMangaParse)
|
||||
.map(::commonApiResponseParse)
|
||||
else -> super.fetchSearchManga(page, query, filters)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue