summaryrefslogtreecommitdiff
path: root/subprojects/battleNetApi/include/token.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/battleNetApi/include/token.hpp')
-rw-r--r--subprojects/battleNetApi/include/token.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/battleNetApi/include/token.hpp b/subprojects/battleNetApi/include/token.hpp
index fc5e19a..def5dc2 100644
--- a/subprojects/battleNetApi/include/token.hpp
+++ b/subprojects/battleNetApi/include/token.hpp
@@ -18,7 +18,7 @@ class Token {
void writeTokenToFile(const std::string &iToken) const;
std::string getValidTokenWithApi() const;
std::chrono::seconds getCurrentTime() const;
- std::string extractFirstMatchRegex(const std::string &t_str, const std::string &t_regex) const;
+ std::string extractTokenWithRegex(const std::string &t_str, const std::string &t_regex) const;
static size_t curlCallbackStringOutput(void *t_contents, size_t t_size, size_t t_nmemb, std::string *t_s);
friend class TokenTests;