Parse correct object when finding existing MAL list item (fixes #4347)

This commit is contained in:
arkon 2021-01-24 16:33:47 -05:00
parent c4716a3f4c
commit 1490112135

View File

@ -180,7 +180,7 @@ class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListI
.await()
.parseAs<JsonObject>()
.let { obj ->
obj.jsonObject["list_status"]?.jsonObject?.let {
obj.jsonObject["my_list_status"]?.jsonObject?.let {
parseMangaItem(it, track)
}
}