Skip to content

Commit 4e7095a

Browse files
authored
Update auth.cpp
1 parent 089622e commit 4e7095a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

auth.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ std::string get_str_between_two_str(const std::string& s, const std::string& sta
6565
int VerifyPayload(std::string signature, std::string timestamp, std::string body);
6666
void checkInit();
6767
std::string checksum();
68-
void debugInfo(std::string data, std::string url, std::string response, std::string headers);
6968
void modify();
7069
void runChecks();
7170
void checkAtoms();
@@ -1660,6 +1659,10 @@ std::string get_str_between_two_str(const std::string& s,
16601659
last_delim_pos - end_pos_of_first_delim);
16611660
}
16621661

1662+
void KeyAuth::api::setDebug(bool value) {
1663+
KeyAuth::api::debug = value;
1664+
}
1665+
16631666
std::string KeyAuth::api::req(std::string data, std::string url) {
16641667
CURL* curl = curl_easy_init();
16651668
if (!curl)

0 commit comments

Comments
 (0)