diff --git a/src/ripple/rpc/handlers/LogRotate.cpp b/src/ripple/rpc/handlers/LogRotate.cpp index c95417f7d..e7dd9d468 100644 --- a/src/ripple/rpc/handlers/LogRotate.cpp +++ b/src/ripple/rpc/handlers/LogRotate.cpp @@ -23,7 +23,7 @@ namespace ripple { Json::Value doLogRotate (RPC::Context& context) { - return deprecatedLogs().rotate(); + return RPC::makeObjectValue (deprecatedLogs().rotate()); } } // ripple