diff --git a/ASFFreeGames/Reddit/RedditHelper.cs b/ASFFreeGames/Reddit/RedditHelper.cs index c5f2128..97597da 100644 --- a/ASFFreeGames/Reddit/RedditHelper.cs +++ b/ASFFreeGames/Reddit/RedditHelper.cs @@ -43,7 +43,7 @@ IReadOnlyCollection returnValue() { } // ReSharper disable once LoopCanBePartlyConvertedToQuery - foreach (JsonNode? comment in children.AsArray()) { + foreach (JsonNode? comment in (JsonArray) children) { JsonNode? commentData = comment?["data"]; if (commentData is null) {