From d3e704cc86917d6871a8c43fb58297abf549c8fb Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Fri, 4 Jun 2021 11:08:40 +0800 Subject: [PATCH] Fix unparsed property --- Flow.Launcher.Core/Plugin/JsonPRCModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs index b1c8ff6ea94..319f760d192 100644 --- a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs +++ b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs @@ -51,8 +51,10 @@ public class JsonRPCQueryResponseModel : JsonRPCResponseModel public class JsonRPCRequestModel : JsonRPCModelBase { + [JsonPropertyName("method")] public string Method { get; set; } + [JsonPropertyName("parameters")] public object[] Parameters { get; set; } public override string ToString()