summaryrefslogtreecommitdiff
path: root/src/HttpServerBodyCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpServerBodyCommand.cc')
-rw-r--r--src/HttpServerBodyCommand.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc
index a545b1f6..ff086771 100644
--- a/src/HttpServerBodyCommand.cc
+++ b/src/HttpServerBodyCommand.cc
@@ -232,8 +232,7 @@ bool HttpServerBodyCommand::execute()
getCuid()),
e);
rpc::RpcResponse res
- (createJsonRpcErrorResponse
- (-32700, "Parse error.", SharedHandle<ValueBase>()));
+ (createJsonRpcErrorResponse(-32700, "Parse error.", Null::g()));
sendJsonRpcResponse(res, callback);
return true;
}
@@ -258,7 +257,7 @@ bool HttpServerBodyCommand::execute()
} else {
rpc::RpcResponse res
(createJsonRpcErrorResponse
- (-32600, "Invalid Request.", SharedHandle<ValueBase>()));
+ (-32600, "Invalid Request.", Null::g()));
sendJsonRpcResponse(res, callback);
}
}