mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 06:47:53 +02:00
fixed wrong id-location when getting chapters
This commit is contained in:
@ -134,7 +134,7 @@ public class MangaDex : Connector
|
||||
foreach (JsonObject chapter in chaptersInResult)
|
||||
{
|
||||
JsonObject attributes = chapter!["attributes"]!.AsObject();
|
||||
string chapterId = attributes["id"]!.GetValue<string>();
|
||||
string chapterId = chapter["id"]!.GetValue<string>();
|
||||
|
||||
string? title = attributes.ContainsKey("title") && attributes["title"] is not null
|
||||
? attributes["title"]!.GetValue<string>()
|
||||
|
Reference in New Issue
Block a user