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:
@@ -29,7 +29,7 @@ Json::Value doSMS (RPC::Context& context)
|
||||
HTTPClient::sendSMS (
|
||||
getApp().getIOService (), context.params["text"].asString ());
|
||||
|
||||
return "sms dispatched";
|
||||
return RPC::makeObjectValue ("sms dispatched");
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user