From feac00e6819a9c9ad640a586d2fabb9e4e43f41e Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sun, 25 Jan 2026 03:16:23 +0100 Subject: renamed some functions --- battleNetApi/include/token.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battleNetApi/include') diff --git a/battleNetApi/include/token.hpp b/battleNetApi/include/token.hpp index 1941ce5..7107eb0 100644 --- a/battleNetApi/include/token.hpp +++ b/battleNetApi/include/token.hpp @@ -5,7 +5,7 @@ class Token { public: Token(const std::string &iTokenFilePath); std::string text() const; - const bool hasTokenExpired() const; + const bool hasExpired() const; void updateToken(); private: @@ -21,7 +21,7 @@ class Token { * or if there is no token at all. */ std::string generateToken(); - void writeNewTokenToLocalFile(const std::pair &iToken) const; + void writeTokenToLocalFile(const std::pair &iToken) const; std::string getTokenFromLocalFile() const; std::pair getTokenWithApi() const; std::chrono::seconds getCurrentTime() const; -- cgit v1.2.3