From 332c0ffde6d60b7bac3cb14df31cbae3f27383a7 Mon Sep 17 00:00:00 2001 From: Aotrix Date: Tue, 18 Mar 2025 19:21:57 +0100 Subject: added postgres handler --- src/hearthstoneAPIHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hearthstoneAPIHandler.cpp') 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) { -- cgit v1.2.3