Skip to content

Commit

Permalink
Bugfix RedditHelper for issue #110
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisoft committed Dec 3, 2024
1 parent 9529b50 commit 3aa01e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASFFreeGames/Reddit/RedditHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ IReadOnlyCollection<RedditGameEntry> 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) {
Expand Down

0 comments on commit 3aa01e5

Please sign in to comment.