mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Request: Fix missing requestData check
This commit is contained in:
parent
2c018ca174
commit
136a270473
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user