summaryrefslogtreecommitdiff
path: root/src/hearthstoneAPIHandler.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-03-18 19:21:57 +0100
committerAotrix <[email protected]>2025-03-18 19:21:57 +0100
commit332c0ffde6d60b7bac3cb14df31cbae3f27383a7 (patch)
tree80c22ed8f36be4399ca174c9d3ceac6da7cb2fab /src/hearthstoneAPIHandler.cpp
parent9c280e05547671aa346530c4c7c0ddbc4729348f (diff)
added postgres handler
Diffstat (limited to 'src/hearthstoneAPIHandler.cpp')
-rw-r--r--src/hearthstoneAPIHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hearthstoneAPIHandler.cpp b/src/hearthstoneAPIHandler.cpp
index 6528ed0..5dd28d4 100644
--- a/src/hearthstoneAPIHandler.cpp
+++ b/src/hearthstoneAPIHandler.cpp
@@ -38,8 +38,8 @@ HearthstoneAPIHandler::extract_string_with_regex(const std::string &t_str,
}
void HearthstoneAPIHandler::write_new_token_info_to_file(
- const std::string &file_path) {
- std::ofstream token_file(file_path);
+ const std::string &t_file_path) {
+ std::ofstream token_file(t_file_path);
CURL *curl = curl_easy_init();
std::string token_info;
if (curl) {