fix chapter list not reflecting blocked groups from mangadex (#2104)
* Force network instead of using cache when getting manga info and chapter list for mangadex * The correct way to do the force network for mangadex
This commit is contained in:
parent
beccbec5ad
commit
af1f88e53f
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MangaDex'
|
appName = 'Tachiyomi: MangaDex'
|
||||||
pkgNameSuffix = 'all.mangadex'
|
pkgNameSuffix = 'all.mangadex'
|
||||||
extClass = '.MangadexFactory'
|
extClass = '.MangadexFactory'
|
||||||
extVersionCode = 78
|
extVersionCode = 79
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -347,11 +347,11 @@ abstract class Mangadex(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun apiRequest(manga: SManga): Request {
|
private fun apiRequest(manga: SManga): Request {
|
||||||
return GET(baseUrl + API_MANGA + getMangaId(manga.url), headers)
|
return GET(baseUrl + API_MANGA + getMangaId(manga.url), headers, CacheControl.FORCE_NETWORK)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun searchMangaByIdRequest(id: String): Request {
|
private fun searchMangaByIdRequest(id: String): Request {
|
||||||
return GET(baseUrl + API_MANGA + id, headers)
|
return GET(baseUrl + API_MANGA + id, headers, CacheControl.FORCE_NETWORK)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getMangaId(url: String): String {
|
private fun getMangaId(url: String): String {
|
||||||
|
|
Loading…
Reference in New Issue