mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Merge master (1.7.2) into develop (1.8.0-b2)
This commit is contained in:
@@ -903,6 +903,17 @@ ServerHandlerImp::processRequest(
|
||||
reply.append(std::move(r));
|
||||
else
|
||||
reply = std::move(r);
|
||||
|
||||
if (reply.isMember(jss::result) &&
|
||||
reply[jss::result].isMember(jss::result))
|
||||
{
|
||||
reply = reply[jss::result];
|
||||
if (reply.isMember(jss::status))
|
||||
{
|
||||
reply[jss::result][jss::status] = reply[jss::status];
|
||||
reply.removeMember(jss::status);
|
||||
}
|
||||
}
|
||||
}
|
||||
auto response = to_string(reply);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user