Skip to content

Commit 2ec79f3

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Rectified error
1 parent 26fded2 commit 2ec79f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/Custom/JsonExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static string RemoveDefaultNullProperties(this JToken token)
6161
{
6262
jsonArray.RemoveAt(i); // Remove the "defaultnull" string from the array
6363
}
64-
else if (item.Type == JTokenType.String && item.ToString().Equals("null",StringComparison.Ordinal)
64+
else if (item.Type == JTokenType.String && item.ToString().Equals("null",StringComparison.Ordinal))
6565
{
6666
jsonArray[i] = JValue.CreateNull(); // Convert "null" string to actual null
6767
}

0 commit comments

Comments
 (0)