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()