*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");
|
||||
let params = data.get("params");
|
||||
|
||||
if (params === "null") {
|
||||
params = null;
|
||||
}
|
||||
params = JSON.parse(params);
|
||||
|
||||
let query;
|
||||
let ret: RPCResponse;
|
||||
|
|
Loading…
Reference in New Issue