FlameComics: update api contract (#11643)
* Update api contract Update last_edit type to match updated FlameComics API * Fix extVersionCode
This commit is contained in:
parent
60e78280c8
commit
c0dfbb7c13
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Flame Comics'
|
extName = 'Flame Comics'
|
||||||
extClass = '.FlameComics'
|
extClass = '.FlameComics'
|
||||||
extVersionCode = 46
|
extVersionCode = 47
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|||||||
@ -57,7 +57,7 @@ class FlameComics : HttpSource() {
|
|||||||
imageApiUrlBuilder().apply {
|
imageApiUrlBuilder().apply {
|
||||||
addPathSegment(seriesData.series_id.toString())
|
addPathSegment(seriesData.series_id.toString())
|
||||||
addPathSegment(seriesData.cover)
|
addPathSegment(seriesData.cover)
|
||||||
addQueryParameter(seriesData.last_edit, null)
|
addQueryParameter(seriesData.last_edit.toString(), null)
|
||||||
}.build().toString()
|
}.build().toString()
|
||||||
|
|
||||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request =
|
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request =
|
||||||
|
|||||||
@ -103,7 +103,7 @@ class Series(
|
|||||||
val artist: List<String>?,
|
val artist: List<String>?,
|
||||||
val status: String,
|
val status: String,
|
||||||
val series_id: Int?,
|
val series_id: Int?,
|
||||||
val last_edit: String,
|
val last_edit: Long,
|
||||||
val views: Int?,
|
val views: Int?,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user