*Need to json parse params
This commit is contained in:
parent
3873bd47a2
commit
a9c8990baa
|
@ -182,9 +182,7 @@ async function setup() {
|
||||||
const method = data.get("method");
|
const method = data.get("method");
|
||||||
let params = data.get("params");
|
let params = data.get("params");
|
||||||
|
|
||||||
if (params === "null") {
|
params = JSON.parse(params);
|
||||||
params = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
let query;
|
let query;
|
||||||
let ret: RPCResponse;
|
let ret: RPCResponse;
|
||||||
|
|
Loading…
Reference in New Issue