From 29832e3eccceb10b5e6a9b9de554e0a45f4f1fc9 Mon Sep 17 00:00:00 2001 From: Aotrix Date: Thu, 27 Mar 2025 12:58:24 +0100 Subject: switched to std::chrono::seconds for tokens --- include/hearthstoneAPIHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hearthstoneAPIHandler.h b/include/hearthstoneAPIHandler.h index 2e0c933..9d5ec58 100644 --- a/include/hearthstoneAPIHandler.h +++ b/include/hearthstoneAPIHandler.h @@ -10,7 +10,7 @@ class HearthstoneAPIHandler { private: static size_t curl_callback_string_output(void *t_contents, size_t t_size, size_t t_nmemb, std::string *t_s); - std::chrono::hours get_current_time(); + std::chrono::seconds get_current_time(); std::string extract_string_with_regex(const std::string &t_str, const std::string t_regex); void write_new_token_info_to_file(const std::string &t_file_path); -- cgit v1.2.3