mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make sure that handlers always return Json::objectValue.
This commit is contained in:
@@ -31,7 +31,7 @@ Json::Value doUnlLoad (RPC::Context& context)
|
||||
return rpcError (rpcLOAD_FAILED);
|
||||
}
|
||||
|
||||
return "loading";
|
||||
return RPC::makeObjectValue ("loading");
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user