Skip to content

Commit

Permalink
Fix ReportRequestConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
trejjam committed Jun 24, 2023
1 parent 8b58c5c commit a3b8e37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ReportingApi/JsonConverters/ReportRequestConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ public class ReportRequestConverter : JsonConverter<ReportRequest>
throw new JsonException();
}

readerClone.Read();

var depth = readerClone.CurrentDepth;
var depth = readerClone.CurrentDepth + 1;
while (readerClone.Read())
{
if (depth < readerClone.CurrentDepth)
Expand Down

0 comments on commit a3b8e37

Please sign in to comment.