This commit is contained in:
Namhyeon Go 2024-10-25 15:27:45 +09:00
parent 965423addb
commit 3af8879adb
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def jsonrpc2_create_id(data):
def jsonrpc2_encode(method, params=None): def jsonrpc2_encode(method, params=None):
data = {"jsonrpc": "2.0", "method": method, "params": params} data = {"jsonrpc": "2.0", "method": method, "params": params}
id = jsonrpc2_create_id(data) id = jsonrpc2_create_id(data)
id = data.get("id") data["id"] = id
return (id, json.dumps(data)) return (id, json.dumps(data))

@ -1 +1 @@
Subproject commit dd4b8580f00103bcc76527bd716943a8f561df21 Subproject commit 59833335c31a120feb99481be1606bd0dfecc9f4