Merge branch 'refs/heads/cuttingedge-merge-ServerV2' into Server-V2
This commit is contained in:
commit
7ed3846c5f
@ -115,7 +115,7 @@ public class MangaDex : MangaConnector
|
||||
};
|
||||
|
||||
Dictionary<string, string> linksDict = new();
|
||||
if (attributes.TryGetPropertyValue("links", out JsonNode? linksNode))
|
||||
if (attributes.TryGetPropertyValue("links", out JsonNode? linksNode) && linksNode is not null)
|
||||
foreach (KeyValuePair<string, JsonNode?> linkKv in linksNode!.AsObject())
|
||||
linksDict.TryAdd(linkKv.Key, linkKv.Value.GetValue<string>());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user