update usage.
This commit is contained in:
parent
5cf24d07f8
commit
db1e7d5cfb
@ -48,7 +48,7 @@ void CorporationContext::sendMessage(MessageType type, const std::string &messag
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CorporationContext::notify(const RequestType &request) {
|
void CorporationContext::notify(const RequestType &request) {
|
||||||
boost::json::error_code error;
|
boost::system::error_code error;
|
||||||
auto json = boost::json::parse(request.body(), error);
|
auto json = boost::json::parse(request.body(), error);
|
||||||
if (error) {
|
if (error) {
|
||||||
LOG(error) << "parse: [" << request.body() << "] failed, reason: " << error.message();
|
LOG(error) << "parse: [" << request.body() << "] failed, reason: " << error.message();
|
||||||
|
Loading…
Reference in New Issue
Block a user