update usage.

This commit is contained in:
amass 2024-05-05 17:24:41 +08:00
parent 5cf24d07f8
commit db1e7d5cfb

View File

@ -48,7 +48,7 @@ void CorporationContext::sendMessage(MessageType type, const std::string &messag
}
void CorporationContext::notify(const RequestType &request) {
boost::json::error_code error;
boost::system::error_code error;
auto json = boost::json::parse(request.body(), error);
if (error) {
LOG(error) << "parse: [" << request.body() << "] failed, reason: " << error.message();