summaryrefslogtreecommitdiff
path: root/src/HttpServerBodyCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpServerBodyCommand.cc')
-rw-r--r--src/HttpServerBodyCommand.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc
index 7577d3eb..44eaa2f0 100644
--- a/src/HttpServerBodyCommand.cc
+++ b/src/HttpServerBodyCommand.cc
@@ -149,8 +149,7 @@ HttpServerBodyCommand::processJsonRpcRequest(const Dict* jsondict)
SharedHandle<ValueBase> id = jsondict->get("id");
if(!id) {
- return createJsonRpcErrorResponse(-32600, "Invalid Request.",
- SharedHandle<ValueBase>());
+ return createJsonRpcErrorResponse(-32600, "Invalid Request.", Null::g());
}
const String* methodName = asString(jsondict->get("method"));
if(!methodName) {