Skip to content
Browse files

parameterless procedure invocation support

  • Loading branch information...
1 parent 2a8a631 commit 834e5ff91cc0a3691c31bcf865ea2a30c9179c0b @evolchek evolchek committed with
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rfc4627_jsonrpc_http.erl
View
2 src/rfc4627_jsonrpc_http.erl
@@ -148,7 +148,7 @@ parse_jsonrpc(AliasPrefix, Path, HttpMethod, QueryParametersObj, Body) ->
rfc4627:get_field(RequestObject, "id", null),
Object,
rfc4627:get_field(RequestObject, "method", undefined),
- rfc4627:get_field(RequestObject, "params", undefined)};
+ rfc4627:get_field(RequestObject, "params", [])};
_ ->
%% GET, presumably. We don't really care, here.
{get,

0 comments on commit 834e5ff

Please sign in to comment.
Something went wrong with that request. Please try again.