Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuaidehao authored and erikzhang committed Jun 7, 2022
1 parent 08b1783 commit d935e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RpcClient/Models/RpcInvokeResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class RpcInvokeResult

public string Exception { get; set; }

public string SessionId { get; set; }
public string Session { get; set; }

public JObject ToJson()
{
Expand Down Expand Up @@ -63,7 +63,7 @@ public static RpcInvokeResult FromJson(JObject json)
};
if (json.ContainsProperty("exception"))
invokeScriptResult.Exception = json["exception"]?.AsString();
if (json.ContainsProperty("session")) invokeScriptResult.SessionId = json["session"]?.AsString();
if (json.ContainsProperty("session")) invokeScriptResult.Session = json["session"]?.AsString();
try
{
invokeScriptResult.Stack = ((JArray)json["stack"]).Select(p => Utility.StackItemFromJson(p)).ToArray();
Expand Down

0 comments on commit d935e08

Please sign in to comment.