diff options
| author | Aotrix <[email protected]> | 2025-03-27 12:58:24 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-03-27 12:58:24 +0100 |
| commit | 29832e3eccceb10b5e6a9b9de554e0a45f4f1fc9 (patch) | |
| tree | afa88d0e9139026572cb1c152f7fc4ba1594008c /include | |
| parent | 31ab522fb80473676ff31f3434f4651a1a4ee1a3 (diff) | |
switched to std::chrono::seconds for tokens
Diffstat (limited to 'include')
| -rw-r--r-- | include/hearthstoneAPIHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
