diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index 2087934..15cb28c 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -190,9 +190,9 @@ public class MangaDex : Connector ? attributes["volume"]!.GetValue() : null; - string? chapterNum = attributes.ContainsKey("chapter") && attributes["chapter"] is not null + string chapterNum = attributes.ContainsKey("chapter") && attributes["chapter"] is not null ? attributes["chapter"]!.GetValue() - : null; + : "null"; chapters.Add(new Chapter(publication, title, volume, chapterNum, chapterId)); }