Request: Fix missing requestData check

This commit is contained in:
tt2468 2021-06-07 01:11:20 -07:00
parent 2c018ca174
commit 136a270473

View File

@ -11,7 +11,7 @@ struct Request
const bool HasRequestData() const
{
return RequestData.is_object();
return RequestData.is_object() && !RequestData.empty();
}
const bool ValidateBasic(const std::string keyName, RequestStatus::RequestStatus &statusCode, std::string &comment) const;