mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 21:20:50 +01:00
Kitsu fixes
This commit is contained in:
parent
f1d84ccb49
commit
97fa659283
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ open class KitsuManga(obj: JsonObject) {
|
||||||
val id by obj.byInt
|
val id by obj.byInt
|
||||||
val canonicalTitle by obj["attributes"].byString
|
val canonicalTitle by obj["attributes"].byString
|
||||||
val chapterCount = obj["attributes"].obj.get("chapterCount").nullInt
|
val chapterCount = obj["attributes"].obj.get("chapterCount").nullInt
|
||||||
val type = obj["attributes"]["mangaType"].string
|
val type = obj["attributes"].obj.get("mangaType").nullString
|
||||||
|
|
||||||
@CallSuper
|
@CallSuper
|
||||||
open fun toTrack() = Track.create(TrackManager.KITSU).apply {
|
open fun toTrack() = Track.create(TrackManager.KITSU).apply {
|
||||||
|
|
Loading…
Reference in a new issue