Skip to content

Commit 5aec781

Browse files
authored
Confusing variable name in setRequestBody method
1 parent ec86b24 commit 5aec781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/https_client.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ void HttpsClient::setKey(const std::string& key) {
5050
m_key = "ModSec-key: " + key;
5151
}
5252

53-
void HttpsClient::setRequestBody(const std::string& requestType) {
54-
m_requestBody = requestType;
53+
void HttpsClient::setRequestBody(const std::string& requestBody) {
54+
m_requestBody = requestBody;
5555
}
5656

5757
void HttpsClient::setRequestType(const std::string& requestType) {

0 commit comments

Comments
 (0)