diff --git a/src/utils/https_client.cc b/src/utils/https_client.cc index 426b5cf1..1ba5fd86 100644 --- a/src/utils/https_client.cc +++ b/src/utils/https_client.cc @@ -50,8 +50,8 @@ void HttpsClient::setKey(const std::string& key) { m_key = "ModSec-key: " + key; } -void HttpsClient::setRequestBody(const std::string& requestType) { - m_requestBody = requestType; +void HttpsClient::setRequestBody(const std::string& requestBody) { + m_requestBody = requestBody; } void HttpsClient::setRequestType(const std::string& requestType) {