From 40242ee7ca7446e75bb98a41a2c73433a1ca0d1e Mon Sep 17 00:00:00 2001 From: glax <--local> Date: Thu, 18 May 2023 17:22:02 +0200 Subject: [PATCH] fixed wrong id-location when getting chapters --- Tranga/Connectors/MangaDex.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index acfe325..8d5e52b 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -134,7 +134,7 @@ public class MangaDex : Connector foreach (JsonObject chapter in chaptersInResult) { JsonObject attributes = chapter!["attributes"]!.AsObject(); - string chapterId = attributes["id"]!.GetValue(); + string chapterId = chapter["id"]!.GetValue(); string? title = attributes.ContainsKey("title") && attributes["title"] is not null ? attributes["title"]!.GetValue()