From abf47deee3737468019f53df8b09976b5f043218 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 3 May 2020 20:05:21 -0400 Subject: [PATCH] Fix anilist jsonnull issue https://github.com/Jays2Kings/tachiyomiJ2K/commit/41c64b7058c4b8cc040d69160002caeceb922baa --- .../java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt index 201d84be6c..4c189a77ef 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt @@ -271,7 +271,7 @@ class AnilistApi(val client: OkHttpClient, interceptor: AnilistInterceptor) { return ALManga( struct["id"].asInt, struct["title"]["romaji"].asString, struct["coverImage"]["large"].asString, - struct["description"].nullString.orEmpty(), struct["type"].asString, struct["status"].asString, + struct["description"].nullString.orEmpty(), struct["type"].asString, struct["status"].nullString.orEmpty(), date, struct["chapters"].nullInt ?: 0 ) }