mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix RPC command logrotate to return a Json object.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace ripple {
|
||||
|
||||
Json::Value doLogRotate (RPC::Context& context)
|
||||
{
|
||||
return deprecatedLogs().rotate();
|
||||
return RPC::makeObjectValue (deprecatedLogs().rotate());
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user