Confusing variable name in setRequestBody method

This commit is contained in:
Mesar ali
2021-11-02 12:35:29 +05:30
committed by GitHub
parent ec86b242e1
commit 5aec781d39

View File

@@ -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) {