From 5aec781d39cdb62dcea12b9d70925ac28776b58c Mon Sep 17 00:00:00 2001 From: Mesar ali Date: Tue, 2 Nov 2021 12:35:29 +0530 Subject: [PATCH] Confusing variable name in setRequestBody method --- src/utils/https_client.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {