Skip to content

Commit

Permalink
Fixed invalid condition in socket message helper. (#6234)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Jun 2, 2023
1 parent 494b682 commit 68b80bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ internal static class MessageHelper
WriteFieldValue(jsonWriter, request.Extensions);
}

if (request.Variables is not null)
if (request.VariablesNode is not null)
{
jsonWriter.WritePropertyName(VariablesProp);
WriteFieldValue(jsonWriter, request.VariablesNode);
Expand Down

0 comments on commit 68b80bc

Please sign in to comment.