Skip to content

Commit 37b09f7

Browse files
authored
Merge pull request craigmj#25 from bvisonl/master
Update rpc.lua to include the jsonrpc = "2.0" property
2 parents c879400 + 8018444 commit 37b09f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json/rpc.lua

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function json.rpc.call(url, method, ...)
7373
local JSONRequestArray = {
7474
id=tostring(math.random()),
7575
["method"]=method,
76+
["jsonrpc"]="2.0",
7677
params = ...
7778
}
7879
local httpResponse, result , code

0 commit comments

Comments
 (0)