NovelCool: correctly parse api reponse on search (#17463)

correctly parse api reponse on search
This commit is contained in:
AwkwardPeak7 2023-08-11 22:59:34 +05:00 committed by GitHub
parent d19e67ed2d
commit 1ef336b1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'NovelCool'
pkgNameSuffix = 'all.novelcool'
extClass = '.NovelCoolFactory'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -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)
}
}