diff --git a/src/requesthandler/rpc/Request.h b/src/requesthandler/rpc/Request.h index cb9b12d4..d95c0c32 100644 --- a/src/requesthandler/rpc/Request.h +++ b/src/requesthandler/rpc/Request.h @@ -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;