MangaDex chapterNumber non.nullable

This commit is contained in:
glax 2023-06-28 00:13:09 +02:00
parent 47a80d67a8
commit 01d1f922c2

View File

@ -190,9 +190,9 @@ public class MangaDex : Connector
? attributes["volume"]!.GetValue<string>()
: null;
string? chapterNum = attributes.ContainsKey("chapter") && attributes["chapter"] is not null
string chapterNum = attributes.ContainsKey("chapter") && attributes["chapter"] is not null
? attributes["chapter"]!.GetValue<string>()
: null;
: "null";
chapters.Add(new Chapter(publication, title, volume, chapterNum, chapterId));
}